"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8377],{86108:(e,t,n)=>{n.r(t),n.d(t,{AddonManagerProvider:()=>xW,AggregationFunction:()=>cI,AlignCenter:()=>bd,AlignLeft:()=>bc,AlignRight:()=>bp,Annotation:()=>uU,AnnotationConfig:()=>uG,AnnotationType:()=>uW,Annotations:()=>uN,AppearanceConfig:()=>cT,AppliedBrandKit:()=>u0,ArrowAnnotation:()=>uV,ArrowAnnotationAttributes:()=>uE,ArrowAnnotationConfig:()=>uH,ArrowDownIcon:()=>be,ArrowDuoToneIcon:()=>Ci,ArrowLeftIcon:()=>bn,ArrowLineStyle:()=>uI,ArrowRightIcon:()=>br,ArrowSwapIcon:()=>bi,ArrowThickness:()=>uD,ArrowUpIcon:()=>bt,ArrowheadStyle:()=>uT,AverageDuoToneIcon:()=>b4,AverageLineIcon:()=>b5,AxesIcon:()=>b1,AxisLabelsMode:()=>de,BAR_VIZ_TYPES:()=>cJ,BASE_FONT_SIZE:()=>sj,BarChartAltIcon:()=>b$,BaseEditorContainer:()=>wL,BaseEditorContent:()=>ws,BasicFilterConfig:()=>cY,BasicFilterOperator:()=>cR,BasicFilterValue:()=>cz,BinIcon:()=>x2,BlockType:()=>u,BoldIcon:()=>bo,BorderStyleName:()=>ck,BoxIcon:()=>b0,BrandKitTheme:()=>cp,BrushIcon:()=>Ce,Button:()=>vc,CHART_PLOT_ID:()=>TP,COLUMN_VIZ_TYPES:()=>cq,CalendarIcon:()=>bD,CanvasCssVariables:()=>vY,Caption:()=>f4,CaptionEditor:()=>wU,CaptionEditorControlled:()=>wX,CaptionEditorControlledProvider:()=>wZ,CaretDownIcon:()=>bb,CaretLeftIcon:()=>bU,CaretRightIcon:()=>bN,CaretUpIcon:()=>bC,Chart:()=>Dw,ChartBackgroundStyle:()=>u5,ChartBorderColor:()=>cM,ChartBorderStroke:()=>cP,ChartBorderStrokeWidth:()=>cS,ChartBorderStyle:()=>cO,ChartBorderType:()=>cL,ChartBrandKitConfig:()=>u1,ChartInfoProvider:()=>kR,ChartTextScale:()=>cm,ChartThemePalette:()=>cg,ChartThemePreset:()=>cf,ChartTitleEditor:()=>MI,CheckIcon:()=>bu,ChronologicalDateManager:()=>sJ,ClockIcon:()=>bT,ColorDropdown:()=>ju,ColorInput:()=>v6,ComboPlotAxisCount:()=>dt,ComboPlotType:()=>c2,ComparisonFilterOperator:()=>cF,Container:()=>f7,Content:()=>mr,CrossIcon:()=>bv,CurrencyConfig:()=>da,CurrencyDollarIcon:()=>bI,CurrencyEuroIcon:()=>bE,CurrencyIso:()=>h9,CurrencyPoundIcon:()=>bH,CurveType:()=>c0,CustomColorSchema:()=>dv,CustomPaletteCatalogSchema:()=>dA,CustomPaletteSchema:()=>dj,CustomPaletteTheme:()=>ch,CustomPowerUp:()=>c3,CustomTheme:()=>cd,DEFAULT_AREA_STACKED_CHART:()=>pK,DEFAULT_BAR_CHART:()=>p1,DEFAULT_BAR_CHART_100_STACKED:()=>p2,DEFAULT_BAR_CHART_STACKED:()=>p0,DEFAULT_BUBBLE_CHART:()=>pX,DEFAULT_CHART_SIZE:()=>dV,DEFAULT_COLUMN_CHART:()=>pJ,DEFAULT_COLUMN_CHART_100_STACKED:()=>p$,DEFAULT_COLUMN_CHART_STACKED:()=>pq,DEFAULT_COMBO_CHART_GROUPED_BARS:()=>p3,DEFAULT_DONUT_CHART:()=>pU,DEFAULT_FUNNEL_CHART:()=>p5,DEFAULT_HEATMAP:()=>p4,DEFAULT_LABEL_FORMATTER:()=>sQ,DEFAULT_LINE_CHART:()=>pN,DEFAULT_LOCALE:()=>fj,DEFAULT_MEKKO_CHART:()=>p_,DEFAULT_PIE_CHART:()=>pW,DEFAULT_SCATTER_CHART:()=>pZ,DEFAULT_SPRING_TRANSITION:()=>fA,DEFAULT_TABLE:()=>p6,DEFAULT_TWEEN_TRANSITION:()=>fw,DEFAULT_VIZ_LOCALE:()=>c6,DEFAULT_VIZ_PALETTE:()=>mI,DEFAULT_WATERFALL_CHART:()=>pQ,DataType:()=>h4,DataTypeConfig:()=>dd,DataView:()=>c_,DataViewProperty:()=>cU,DatasetConfig:()=>dm,DateConfig:()=>du,DateDataType:()=>ds,DecimalPlaces:()=>dy,DefaultChartBackgroundStyle:()=>u3,DefaultChartFont:()=>cC,DefaultHighlightStyle:()=>cx,DescendantContext:()=>jd,DescendantProvider:()=>jh,DifferenceArrowAnnotation:()=>uY,DifferenceArrowAnnotationAttributes:()=>uR,DifferenceArrowAnnotationConfig:()=>uz,DifferenceArrowSize:()=>uB,DifferenceArrowType:()=>uF,DifferenceArrowsDuoToneIcon:()=>Co,EMPTY_CHART:()=>pG,ErrorSeverity:()=>h6,FORMATTED_NULL_VALUE:()=>sX,FORMATTING_NOT_AVAILABLE:()=>s_,FillType:()=>uX,FilterConfig:()=>cW,FontFamily:()=>cv,FontFinelinerIcon:()=>bP,FontFreshIcon:()=>bA,FontHandwrittenIcon:()=>bS,FontListSchema:()=>cj,FontModernIcon:()=>bw,FontTechnicalIcon:()=>bk,FontTimelessIcon:()=>bj,FontsProvider:()=>fR,Footer:()=>mo,GRAPHY_UNKNOWN_ERROR_CODE:()=>dN,GRAPHY_VIZ_COLORS:()=>hR,GoalDuoToneIcon:()=>b7,GoogleSlidesIcon:()=>bV,GrabHandleIcon:()=>x8,Graph:()=>Vn,GraphFont:()=>cw,GraphFontPreset:()=>cb,GraphProvider:()=>EF,GraphTheme:()=>mZ,GraphThemeCanvasColor:()=>mU,GraphThemeColorScheme:()=>mK,GraphThemeOverrides:()=>mX,GraphThemeValues:()=>mN,GraphTitle:()=>Ho,GraphyChartFontList:()=>dY,GraphyDefaultFontList:()=>dz,GraphyEditorFontList:()=>dG,GraphyError:()=>dK,GraphyGradientBorderStyle:()=>u9,GraphyPalette:()=>u6,GraphyPresetFontFamilies:()=>dR,GraphySolidBorderStyle:()=>u4,GraphyVizColor:()=>u7,GridLinesIcon:()=>bZ,GroupByConfig:()=>cN,HashIcon:()=>bM,Heading:()=>mi,HeadlineMetric:()=>c7,HeadlineMetricComparisonValue:()=>c9,HighlightAnnotation:()=>uP,HighlightAnnotationConfig:()=>uS,HighlightDuoToneIcon:()=>Cl,HighlightIcon:()=>Cr,HighlightStyle:()=>cy,HighlightType:()=>uk,Hint:()=>vM,Input:()=>AB,InputWithLabel:()=>Az,InstagramIcon:()=>bF,IntlProvider:()=>ET,InvisibleIcon:()=>x9,ItalicIcon:()=>bl,Item:()=>mn,JSONContent:()=>ug,JumboLayout:()=>mg,LEGEND_SYMBOL_SIZE:()=>sU,LIGHTNESS_CONFIG:()=>hV,Label:()=>AR,LabelIcon:()=>bQ,LandscapeIcon:()=>bB,LeanEditor:()=>Md,LeanEditorProvider:()=>Mc,LegendPosition:()=>c8,LegendSymbol:()=>sV,LineChartAltIcon:()=>bX,LineChartSmoothIcon:()=>b_,LineThicknessIcon:()=>bJ,LineType:()=>uZ,LinkIcon:()=>bs,LinkedInIcon:()=>bR,Menu:()=>jA,MenuAppearanceProvider:()=>jy,MenuGroup:()=>jS,MenuHeader:()=>j5,MenuHeaderButton:()=>j9,MenuHeaderSkeleton:()=>j4,MenuItem:()=>Ae,MenuItemDivider:()=>At,MenuItemSkeleton:()=>An,MenuSelect:()=>Ah,MinusIcon:()=>x6,MonoPalette:()=>ci,MonoThemePreset:()=>cl,MoonIcon:()=>Cn,NeonPalette:()=>ca,NeonThemePreset:()=>cu,NumberAbbreviation:()=>dx,NumberFormat:()=>db,NumericFilterOperator:()=>cH,OtherDataTypeConfig:()=>dc,PASTEL_VIZ_COLORS:()=>hz,PIE_ENTRY_TRANSITION:()=>fk,PIE_VIZ_TYPES:()=>c1,POINT_VIZ_TYPES:()=>c$,PaletteIcon:()=>b6,PastelPalette:()=>cn,PastelSolidBorderStyle:()=>ct,PastelVizColor:()=>ce,PercentIcon:()=>bO,PieChart:()=>DT,PieTotalPosition:()=>dn,PlusIcon:()=>by,PointIcon:()=>bq,Popover:()=>vE,Popper:()=>vT,Portal:()=>f_,PortalContainer:()=>fX,PortalThemeProvider:()=>fZ,PortraitIcon:()=>bz,PresetPowerUp:()=>c5,Property:()=>dg,RawData:()=>up,RawDataCell:()=>uc,RawDataRow:()=>ud,ReadonlyTextAnnotationRenderer:()=>MT,ReportEditor:()=>L_,ReportEditorContext:()=>LF,ReportEditorProvider:()=>LK,ResolveCssColorContext:()=>bh,RocketIcon:()=>b2,RollingDateFilter:()=>df,RollingDateFilterConfig:()=>cG,RollingDateFilterOperator:()=>cB,Row:()=>jB,RowButton:()=>jR,RowIcon:()=>jz,RowInput:()=>jY,RowItem:()=>jG,RowLabel:()=>jW,RowTitle:()=>j1,RulerIcon:()=>bW,SERIES_CONFIG_KEYS:()=>hQ,SOURCE_PARAGRAPH_MATCH:()=>w$,Select:()=>AO,SelectControl:()=>AM,SeriesColorDot:()=>AG,SeriesConfig:()=>u_,SeriesConfigKeys:()=>uJ,SeriesConfigMap:()=>uQ,ShapeAnnotation:()=>ub,ShapeAnnotationConfig:()=>ux,ShapeAnnotationType:()=>uy,SkeletonRowLabel:()=>jQ,Slider:()=>vR,SortByConfig:()=>cZ,SortByDirection:()=>cK,SortedBarsIcon:()=>bK,SpinnerIcon:()=>x7,SquareDuoToneIcon:()=>Ca,StickerAnnotation:()=>uj,StickerAnnotationConfig:()=>uv,StickerAnnotationId:()=>uC,StringFilterOperator:()=>cV,StylesReset:()=>fQ,SummaryEditor:()=>L5,SunIcon:()=>Ct,SwatchbookIcon:()=>b8,TABLE_PLOT_ID:()=>DH,TEXT_NODE_CLASS_NAME:()=>wc,TRANSITION_DURATION:()=>sh,TeamBrandKit:()=>uq,TeamBrandKits:()=>u$,TextAnnotation:()=>uO,TextAnnotationBackgroundColorStyle:()=>uL,TextAnnotationConfig:()=>uM,TextAnnotationEditor:()=>MM,TextColorIcon:()=>bf,TextDuoToneIcon:()=>Cs,TextIcon:()=>bL,TextStyle:()=>cA,ThemeName:()=>u2,ThemeProvider:()=>fK,ThicknessIcon:()=>bm,TicksType:()=>a,TiktokIcon:()=>bY,TimeUnit:()=>cE,Tooltip:()=>vP,TooltipAnnotation:()=>uw,TooltipAnnotationConfig:()=>uA,TreatEmptyValues:()=>di,TrendDuoToneIcon:()=>b9,TrendIcon:()=>b3,TrendTag:()=>sZ,TrendType:()=>dr,UnderlineIcon:()=>ba,UndoIcon:()=>bx,VIZ_TYPE_LIMITS:()=>dF,VisibleIcon:()=>x4,VisualisationConfig:()=>dl,VisualizationType:()=>cQ,VizColor:()=>uK,VizLocale:()=>c4,VizTable:()=>DK,WATERFALL_SERIES_CONFIG_KEYS:()=>hJ,WATERFALL_TOTAL_ID:()=>dX,WaterfallColor:()=>cc,Weekday:()=>cX,XIcon:()=>bG,addonZIndices:()=>fV,applyNumberAbbreviation:()=>s5,applyTintAdjustment:()=>hF,breakpoints:()=>sw,buildChartTitleDocument:()=>px,calculateTrend:()=>fv,canvasColorsToVariables:()=>un,castToBoolean:()=>gW,castToDate:()=>gG,castToNumber:()=>gY,castToString:()=>gz,checkeredBackground:()=>mD,color:()=>s7,colorVariableName:()=>s3,columnIndexToPropertyKey:()=>uo,contentSpecToSupportedContentSpec:()=>Mh,createEmptyProperty:()=>ul,createGradientFromColor:()=>hB,createNonNullableContextHook:()=>ua,darkModeOnly:()=>ur,darkenCss:()=>s4,dataTypeToRollingFilterOptions:()=>dE,decodeValue:()=>m$,default100StackedBarConfig:()=>pM,defaultAnnotations:()=>Er,defaultAppearanceConfig:()=>Ei,defaultBubbleChartConfig:()=>pR,defaultCharts:()=>p8,defaultComboChartConfig:()=>pH,defaultData:()=>pb,defaultDatasetConfig:()=>pC,defaultDonutChartConfig:()=>pI,defaultFunnelChartConfig:()=>pE,defaultGroupedBarConfig:()=>pP,defaultGroupedColumnConfig:()=>pO,defaultHeatmapConfig:()=>pV,defaultLineChartConfig:()=>pT,defaultNumberFormat:()=>Eo,defaultPieChartConfig:()=>pD,defaultScatterChartConfig:()=>pB,defaultStackedBarConfig:()=>pL,defaultTableConfig:()=>pF,defaultVisualisationConfig:()=>pY,defaultWaterfallChartConfig:()=>pz,desaturateCss:()=>ue,device:()=>mW,elevation:()=>su,emptyChartTitleContent:()=>MR,emptyDocument:()=>w_,emptyReportContent:()=>LQ,estimateDataPointCount:()=>hn,findCaptionSource:()=>w0,fontFamilies:()=>sy,fontSizes:()=>sx,fontWeights:()=>aU,formatBoolean:()=>gU,formatBooleanTickLabel:()=>gK,formatBooleanValue:()=>gN,formatCurrencyTickLabel:()=>gq,formatCurrencyValue:()=>g1,formatDateTickLabel:()=>fc,formatDateValue:()=>g5,formatDatetimeValue:()=>g2,formatDayMonthTickLabel:()=>fd,formatDayMonthValue:()=>g3,formatDecimalTickLabel:()=>gJ,formatDecimalValue:()=>g7,formatDifferenceLabel:()=>fb,formatDuration:()=>g8,formatDurationTickLabel:()=>fp,formatDurationValue:()=>fe,formatIntegerTickLabel:()=>fh,formatIntegerValue:()=>ft,formatMonthTickLabel:()=>fg,formatMonthValue:()=>fn,formatMonthYearValue:()=>fr,formatPercentageTickLabel:()=>ff,formatPercentageValue:()=>fi,formatQuarterValue:()=>fo,formatTextTickLabel:()=>fm,formatTextValue:()=>fl,formatTooltipDateValue:()=>fy,formatTooltipDatetimeValue:()=>fx,formatTooltipValue:()=>DX,formatWeeklyDateRangeValue:()=>fa,formatWeeklyDateRangeWithYearValue:()=>fs,formatYearValue:()=>fu,generateDataPointId:()=>d_,generateMenuItemId:()=>jg,generateMonoPalette:()=>mB,getBaseExtensions:()=>wI,getCaptionAsPlainText:()=>wq,getChartBackgroundColor:()=>Eb,getChartBorderStyles:()=>h5,getComputedDataView:()=>Ex,getComputedProperties:()=>Ep,getCustomBorderStyle:()=>h1,getDataTypeCategory:()=>dM,getDateFormatMatch:()=>pl,getDefaultColorForSeriesConfigKey:()=>h$,getDefaultIntl:()=>fC,getDefaultSwatchStyles:()=>dJ,getEmptyDocumentPerContentSpec:()=>Mf,getLabelForWaterfallSeriesConfigKey:()=>h0,getPresetPalette:()=>mH,getResolvedVisualisationConfig:()=>pS,getScrollParent:()=>dq,getSupportedDateFormats:()=>d7,getSupportedWeeklyDateRangeFormats:()=>d9,getVersion:()=>e0.HF,getVizPalette:()=>mE,getWeeklyDateRangeFormatMatch:()=>pp,gradientBorder:()=>sc,graphyDarkTheme:()=>hD,graphyLightTheme:()=>hH,hasEmptyTextNode:()=>MY,hasOwnProperty:()=>ph,hasOwnStringProperty:()=>pg,highlightEditorAddon:()=>S5,inferDataType:()=>pf,isAnnotationWithDataPoint:()=>sq,isBooleanDataType:()=>dk,isCategoricalSingleAxisChart:()=>hs,isCellEmpty:()=>pm,isChartTitleEmpty:()=>Mz,isChartTooExpensive:()=>ht,isComputedPieChartConfig:()=>ha,isComputedXYChartConfig:()=>hl,isCurrencyDataTypeConfig:()=>dh,isDatasetEmpty:()=>py,isDatasetPristine:()=>he,isDateDataType:()=>dS,isDateDataTypeConfig:()=>dp,isDateDataTypeWithoutYear:()=>dP,isDifferenceArrowAnnotation:()=>s1,isEmptyDocument:()=>wJ,isGraphyError:()=>dZ,isHighlightAnnotation:()=>s$,isNonEmptyArray:()=>dC,isNonNullValue:()=>cD,isNumericDataType:()=>dL,isPieAestheticMappings:()=>uu,isRowEmpty:()=>hr,isRowNotEmpty:()=>hi,isTextDataType:()=>dw,isTooltipAnnotation:()=>s0,isTouchDevice:()=>ho,isValidReportContent:()=>LN,isValidRollingFilterForDataType:()=>dH,isValidTimeUnitForDataType:()=>hc,isWithinViewport:()=>hd,isXYAestheticMappings:()=>us,lightModeOnly:()=>ui,lightenCss:()=>s6,lineHeights:()=>sb,mixCss:()=>s8,modifyChartTitleDocument:()=>MN,parseChartTitleDocument:()=>MW,parseDataPointId:()=>dQ,pointOnCircle:()=>hp,radii:()=>ss,rawDataToChartData:()=>EM,remMultiplier:()=>sp,remToPx:()=>hh,remapAnnotations:()=>hg,removeSourceFromCaption:()=>w1,resetFontSize:()=>hf,resolveCssColor:()=>Ht,resolveFontFamily:()=>dW,sendableSteps:()=>e0._X,skeleton:()=>hy,space:()=>hC,spaceBaseRem:()=>sd,spaceToPx:()=>hb,stickers:()=>Ol,stringToUTCDate:()=>El,subpixelRound:()=>hv,summaryEditorExtensionStyles:()=>L1,supportsHeadlineMetrics:()=>IN,svgSkeleton:()=>hx,textEditorContentBuilder:()=>MZ,themeToVariables:()=>ut,timeUnitToDataType:()=>hj,titleDocumentToTitle:()=>MU,toPlainText:()=>MG,transformToTextStyle:()=>dU,transitions:()=>sg,transparentizeCss:()=>s9,transposeData:()=>hk,trimEmptyProperties:()=>hA,trimEmptyRows:()=>hw,truncate:()=>hS,typography:()=>mT,typographyFontWeights:()=>sC,typographyTextDecoration:()=>sv,useAddonManager:()=>xG,useBaseEditor:()=>wD,useBreakpoint:()=>hM,useCaptionEditorControlled:()=>wK,useChartBorderStyles:()=>gf,useChartInfo:()=>kB,useComponentWillUnmount:()=>gy,useDebouncedCallback:()=>gx,useDescendant:()=>j3,useDescendants:()=>jp,useDrag:()=>gb,useEditable:()=>gA,useFonts:()=>fB,useGetChartTitleEditor:()=>MB,useGradientVariant:()=>gS,useGraphState:()=>gh,useGraphStateContext:()=>gp,useHasFocus:()=>gC,useHasMouseOver:()=>gP,useIsInEmbed:()=>gM,useIsXGoalSupported:()=>gT,useLeanEditor:()=>Mu,useMenuAppearance:()=>jm,useMenuItem:()=>j7,useMergeRefs:()=>gD,useOnClickAway:()=>gI,useOptionalGraphState:()=>gg,useParentTheme:()=>fU,usePrevious:()=>gE,useReportEditor:()=>LB,useResizeObserver:()=>gV,useResponsiveStyles:()=>E5,useSafeGraphLayoutContext:()=>E$,useSeriesColorsOptions:()=>Hn,useStatefulRef:()=>gm,useTheme:()=>fN,useTooltip:()=>ml,useTooltipPointerCoords:()=>mf,useUpdateGraphConfig:()=>Ej,vizTypography:()=>sa,zIndices:()=>sA});var r,i,o,l,a,s,u,c,d,p=n(85966),h=n(34774),g=n(6029),f=n(23611),m=n(53120),y=n(5392),x=n(20880),b=n(47110),C=n(89015),v=n(77120),j=n(51136),A=n(97845),w=n(55821),k=n(17406),S=n(72265),P=n(51692),L=n(54440),M=n(84114),O=n(55729),T=n(29766),D=n(6663),I=n(25690),E=n(57513),H=n(93892),V=n(55049),F=n(39378),B=n(65982),R=n(31812),z=n(43938),Y=n(947),G=n(22528),W=n(56760),U=n(17642),N=n(63418),K=n(65230),Z=n(66082),X=n(87409),_=n(26613),Q=n(69604),J=n(45644),q=n(93291),$=n(86640),ee=n(41777),et=n(43740),en=n(16930),er=n(15905),ei=n(10095),eo=n(29123),el=n(48564),ea=n(75570),es=n(17724),eu=n(91722),ec=n(11692),ed=n(7749),ep=n(7972),eh=n(89581),eg=n(34758),ef=n(98356),em=n(6237),ey=n(73881),ex=n(74467),eb=n(45863),eC=n(75437),ev=n(7803),ej=n(25960),eA=n(98720),ew=n(77116),ek=n(17318),eS=n(12323),eP=n(76787),eL=n(3839),eM=n(51192),eO=n(9585),eT=n(34818),eD=n(85294),eI=n(85279),eE=n(30174),eH=n(70649),eV=n(37243),eF=n(51589),eB=n(82318),eR=n(55153),ez=n(8476),eY=n(83902),eG=n(99696),eW=n(41885),eU=n(70375),eN=n(91929),eK=n(91892),eZ=n(35658),eX=n(58497),e_=n(30777),eQ=n(30669),eJ=n(97122),eq=n(94289),e$=n(18556),e1=n(8272),e0=n(24839),e2=n(69694),e5=n(94558),e3=n(66804),e7=n(43522),e9=n(31989),e4=n(88039),e6=n(25187),e8=n(64952),te=n(73715),tt=n(36523),tn=n(97109),tr=n(28514),ti=n(34302),to=n(9667);function tl(){let e=(0,p._)(["\n font-size: calc(1.2em * var(--typography-scale));\n font-weight: ",";\n line-height: 1.5;\n"]);return tl=function(){return e},e}function ta(){let e=(0,p._)(["\n font-size: calc(1.2em * var(--typography-scale));\n font-weight: ",";\n"]);return ta=function(){return e},e}function ts(){let e=(0,p._)(["\n font-family: inherit;\n font-size: calc(1em * var(--typography-scale));\n font-weight: ",";\n"]);return ts=function(){return e},e}function tu(){let e=(0,p._)(["\n font-size: calc(1em * var(--typography-scale));\n font-weight: ",";\n"]);return tu=function(){return e},e}function tc(){let e=(0,p._)(["\n font-family: inherit;\n font-size: 1.1em;\n font-weight: ",";\n"]);return tc=function(){return e},e}function td(){let e=(0,p._)(["\n font-size: calc(2.6em * var(--typography-scale));\n line-height: 1;\n font-weight: ",";\n"]);return td=function(){return e},e}function tp(){let e=(0,p._)(["\n font-size: calc(1.2em * var(--typography-scale));\n font-weight: ",";\n line-height: 1.2;\n"]);return tp=function(){return e},e}function th(){let e=(0,p._)(["\n font-size: calc(1em * var(--typography-scale));\n font-weight: ",";\n line-height: 1.1;\n opacity: 0.8;\n"]);return th=function(){return e},e}function tg(){let e=(0,p._)(["\n font-size: calc(1.4em * var(--typography-scale));\n line-height: 2;\n font-weight: ",";\n"]);return tg=function(){return e},e}function tf(){let e=(0,p._)(["\n font-size: calc(1.2em * var(--typography-scale));\n line-height: 1.3;\n font-weight: ",";\n"]);return tf=function(){return e},e}function tm(){let e=(0,p._)(["\n font-size: calc(1.1em * var(--typography-scale));\n font-weight: ",";\n line-height: 1;\n"]);return tm=function(){return e},e}function ty(){let e=(0,p._)(["\n font-size: calc(1.1em * var(--typography-scale));\n font-weight: ",";\n line-height: 1;\n"]);return ty=function(){return e},e}function tx(){let e=(0,p._)(["\n font-size: calc(1.2em * var(--typography-scale));\n font-weight: ",";\n"]);return tx=function(){return e},e}function tb(){let e=(0,p._)(["\n font-size: calc(1.6em * var(--typography-scale));\n font-weight: ",";\n"]);return tb=function(){return e},e}function tC(){let e=(0,p._)(["\n font-size: calc(2em * var(--typography-scale));\n font-weight: ",";\n"]);return tC=function(){return e},e}function tv(){let e=(0,p._)(["\n font-size: calc(1em * var(--typography-scale));\n font-weight: ",";\n"]);return tv=function(){return e},e}function tj(){let e=(0,p._)(["\n font-size: 1.2em;\n line-height: 1.6;\n font-weight: ",";\n"]);return tj=function(){return e},e}function tA(){let e=(0,p._)(["\n font-size: 1em;\n line-height: 1.3;\n font-weight: ",";\n"]);return tA=function(){return e},e}function tw(){let e=(0,p._)(["\n font-size: 1.4em;\n line-height: 2;\n font-weight: ",";\n"]);return tw=function(){return e},e}function tk(){let e=(0,p._)(["\n font-size: 1.2em;\n font-weight: ",";\n"]);return tk=function(){return e},e}function tS(){let e=(0,p._)(["\n font-size: 1.2em;\n font-weight: ",";\n line-height: 1;\n"]);return tS=function(){return e},e}function tP(){let e=(0,p._)(["\n font-size: 2.2em;\n font-weight: ",";\n line-height: 1;\n"]);return tP=function(){return e},e}function tL(){let e=(0,p._)(["\n font-size: 1.2em;\n font-weight: ",";\n line-height: 1;\n"]);return tL=function(){return e},e}function tM(){let e=(0,p._)(["\n font-size: 1.2em;\n"]);return tM=function(){return e},e}function tO(){let e=(0,p._)(["\n font-size: 1.2em;\n"]);return tO=function(){return e},e}function tT(){let e=(0,p._)(["\n font-size: 1em;\n font-weight: ",";\n line-height: 1;\n"]);return tT=function(){return e},e}function tD(){let e=(0,p._)(["\n border: ","px solid transparent;\n border-radius: ",";\n background: "," border-box;\n mask:\n linear-gradient(#fff 0 0) padding-box,\n linear-gradient(#fff 0 0);\n -webkit-mask-composite: xor;\n mask-composite: exclude;\n\n // Fix for Safari bug: gradient border disappears when animating a container that scrolls.\n transform: translateZ(0);\n"]);return tD=function(){return e},e}function tI(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return tI=function(){return e},e}function tE(){let e=(0,p._)(["\n font-size: ",";\n"]);return tE=function(){return e},e}function tH(){let e=(0,p._)(["\n 0% {\n opacity: 0.5;\n }\n\n 50% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0.5;\n }\n"]);return tH=function(){return e},e}function tV(){let e=(0,p._)(["\n background-color: ",";\n animation: "," 1.8s ease-out infinite;\n"]);return tV=function(){return e},e}function tF(){let e=(0,p._)(["\n fill: ",";\n animation: "," 1.8s ease-out infinite;\n"]);return tF=function(){return e},e}function tB(){let e=(0,p._)(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]);return tB=function(){return e},e}function tR(){let e=(0,p._)(["\n display: contents;\n @property --typography-scale {\n syntax: '';\n inherits: true;\n initial-value: 1;\n }\n color-scheme: ",";\n ","\n color: ",";\n"]);return tR=function(){return e},e}function tz(){let e=(0,p._)(["\n --typography-scale: 1;\n ","\n "]);return tz=function(){return e},e}function tY(){let e=(0,p._)(["\n ","\n z-index: ",";\n position: ",";\n display: ",";\n"]);return tY=function(){return e},e}function tG(){let e=(0,p._)(["\n ","\n color: ",";\n font-family: var(--typography-chart-font-family);\n\n [role='toolbar'] {\n --typography-scale: 1;\n }\n"]);return tG=function(){return e},e}function tW(){let e=(0,p._)(["\n pointer-events: none;\n position: fixed;\n top: 0;\n left: 0;\n z-index: ",";\n"]);return tW=function(){return e},e}function tU(){let e=(0,p._)(["\n position: relative;\n max-width: calc(40em * var(--typography-scale));\n display: flex;\n zoom: var(--typography-scale);\n\n > * {\n --typography-scale: 1;\n }\n"]);return tU=function(){return e},e}function tN(){let e=(0,p._)(["\n position: relative;\n background: ",";\n box-shadow: 0 0 0 1.5px ",";\n border-radius: 0.6em;\n"]);return tN=function(){return e},e}function tK(){let e=(0,p._)(["\n ","\n ","\n color: ",";\n"]);return tK=function(){return e},e}function tZ(){let e=(0,p._)(["\n padding: 1.2em 1.6em;\n border-top: 1px solid rgba(255, 255, 255, 0.08);\n"]);return tZ=function(){return e},e}function tX(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return tX=function(){return e},e}function t_(){let e=(0,p._)(["\n ","\n pointer-events: none;\n position: absolute;\n display: flex;\n color: ",";\n"]);return t_=function(){return e},e}function tQ(){let e=(0,p._)(["\n left: 50%;\n top: 0;\n transform: translate(-50%, -100%) scaleY(-1);\n "]);return tQ=function(){return e},e}function tJ(){let e=(0,p._)(["\n right: 0;\n top: 50%;\n transform: translate(75%, -50%) rotate(-90deg);\n "]);return tJ=function(){return e},e}function tq(){let e=(0,p._)(["\n left: 50%;\n bottom: 0;\n transform: translate(-50%, 100%);\n "]);return tq=function(){return e},e}function t$(){let e=(0,p._)(["\n left: 0;\n top: 50%;\n transform: translate(-75%, -50%) rotate(90deg);\n "]);return t$=function(){return e},e}function t1(){let e=(0,p._)(["\n ","\n"]);return t1=function(){return e},e}function t0(){let e=(0,p._)(["\n display: flex;\n align-items: baseline;\n flex-wrap: wrap;\n gap: ",";\n color: #bdbacd;\n\n > * {\n ","\n }\n"]);return t0=function(){return e},e}function t2(){let e=(0,p._)(["\n display: flex;\n flex-flow: row;\n gap: ",";\n align-items: center;\n justify-content: space-between;\n\n & + & {\n margin-top: ",";\n }\n"]);return t2=function(){return e},e}function t5(){let e=(0,p._)(["\n flex-shrink: 0;\n"]);return t5=function(){return e},e}function t3(){let e=(0,p._)(["\n ","\n ","\n flex-grow: 1;\n color: ",";\n"]);return t3=function(){return e},e}function t7(){let e=(0,p._)(["\n font-weight: 600;\n color: ",";\n"]);return t7=function(){return e},e}function t9(){let e=(0,p._)(["\n display: flex;\n flex-flow: column;\n min-width: 20em;\n"]);return t9=function(){return e},e}function t4(){let e=(0,p._)(["\n padding: 1.2em 1.6em 0.8em 1.6em;\n"]);return t4=function(){return e},e}function t6(){let e=(0,p._)(["\n display: flex;\n flex-flow: row;\n gap: ",";\n align-items: center;\n"]);return t6=function(){return e},e}function t8(){let e=(0,p._)(["\n flex-shrink: 0;\n display: flex;\n"]);return t8=function(){return e},e}function ne(){let e=(0,p._)(["\n margin-top: ",";\n"]);return ne=function(){return e},e}function nt(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return nt=function(){return e},e}function nn(){let e=(0,p._)(["\n height: 1em;\n"]);return nn=function(){return e},e}function nr(){let e=(0,p._)(["\n text-decoration: ",";\n "]);return nr=function(){return e},e}function ni(){let e=(0,p._)(["\n font-size: calc("," * var(--typography-scale));\n line-height: ",";\n font-weight: ",";\n ","\n"]);return ni=function(){return e},e}function no(){let e=(0,p._)(["\n --checkered-background: ",";\n background-image:\n linear-gradient(\n 45deg,\n var(--checkered-background) 25%,\n transparent 25%,\n transparent 75%,\n var(--checkered-background) 75%,\n var(--checkered-background)\n ),\n linear-gradient(\n 45deg,\n var(--checkered-background) 25%,\n transparent 25%,\n transparent 75%,\n var(--checkered-background) 75%,\n var(--checkered-background)\n );\n background-size: ","em ","em;\n background-position:\n 0 0,\n ","em ","em;\n"]);return no=function(){return e},e}function nl(){let e=(0,p._)(["\n // Disable zooming and horizontal panning on touch devices so that it's easier to interact with tooltips.\n touch-action: pan-y;\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n @media print {\n width: 100% !important;\n }\n"]);return nl=function(){return e},e}function na(){let e=(0,p._)(["\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n gap: 0.8em;\n margin-bottom: 1em;\n min-height: 0;\n max-height: 80%;\n overflow-y: auto;\n"]);return na=function(){return e},e}function ns(){let e=(0,p._)(["\n flex: 0 0 auto;\n"]);return ns=function(){return e},e}function nu(){let e=(0,p._)(["\n flex: 1;\n min-height: 0;\n position: relative;\n display: flex;\n flex-direction: column;\n\n > * {\n flex-grow: 1;\n }\n"]);return nu=function(){return e},e}function nc(){let e=(0,p._)(["\n flex: 0 0 auto;\n"]);return nc=function(){return e},e}function nd(){let e=(0,p._)(["\n flex: 0 0 auto;\n"]);return nd=function(){return e},e}function np(){let e=(0,p._)(["\n position: absolute;\n z-index: ",";\n left: 0;\n top: 0;\n pointer-events: none;\n > * {\n pointer-events: auto;\n }\n"]);return np=function(){return e},e}function nh(){let e=(0,p._)(["\n --typography-scale: 1;\n font-family: ",";\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: ",";\n pointer-events: none;\n > * {\n pointer-events: ",";\n }\n"]);return nh=function(){return e},e}function ng(){let e=(0,p._)(["\n width: ",";\n height: ",";\n z-index: ",";\n position: relative;\n"]);return ng=function(){return e},e}function nf(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: translateY(2px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"]);return nf=function(){return e},e}function nm(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: translateX(-2px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n"]);return nm=function(){return e},e}function ny(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: translateY(-2px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"]);return ny=function(){return e},e}function nx(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: translateX(2px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n"]);return nx=function(){return e},e}function nb(){let e=(0,p._)(["\n ","\n user-select: none;\n z-index: ",";\n min-width: ",";\n background-color: ",";\n padding: ",";\n box-shadow: ",";\n animation-duration: 400ms;\n animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n will-change: transform, opacity;\n border-radius: ",";\n\n &[data-side='top'] {\n animation: "," ",";\n }\n\n &[data-side='right'] {\n animation: "," ",";\n }\n\n &[data-side='bottom'] {\n animation: "," ",";\n }\n\n &[data-side='left'] {\n animation: "," ",";\n }\n"]);return nb=function(){return e},e}function nC(){let e=(0,p._)(["\n flex-shrink: 0;\n color: ",";\n\n .invertedFill {\n "," {\n fill: ",";\n }\n\n "," {\n fill: ",";\n }\n }\n\n .invertedStroke {\n "," {\n stroke: ",";\n }\n\n "," {\n stroke: ",";\n }\n }\n"]);return nC=function(){return e},e}function nv(){let e=(0,p._)(["\n to {\n transform: rotate(360deg);\n }\n"]);return nv=function(){return e},e}function nj(){let e=(0,p._)(["\n animation: "," 0.85s linear infinite;\n animation-fill-mode: none;\n display: inline-flex;\n"]);return nj=function(){return e},e}function nA(){let e=(0,p._)(["\n width: ",";\n height: ",";\n display: flex;\n color: ",";\n outline: 3px solid ",";\n background: ",";\n cursor: pointer;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n transition: transform 0.25s linear;\n transform: ",";\n filter: drop-shadow(0px 4px 4px rgba(14, 14, 52, 0.08)) drop-shadow(0px 0px 4px rgba(15, 15, 24, 0.12));\n"]);return nA=function(){return e},e}function nw(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n transform: ",";\n transition: transform 0.25s linear;\n\n span {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n"]);return nw=function(){return e},e}function nk(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n"]);return nk=function(){return e},e}function nS(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n gap: ",";\n padding: ",";\n border-radius: ",";\n cursor: pointer;\n &:hover {\n background-color: ",";\n }\n\n &[data-highlighted] {\n background-color: ",";\n }\n"]);return nS=function(){return e},e}function nP(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: auto;\n"]);return nP=function(){return e},e}function nL(){let e=(0,p._)(["\n ","\n white-space: nowrap;\n"]);return nL=function(){return e},e}function nM(){let e=(0,p._)(["\n position: relative;\n display: flex;\n"]);return nM=function(){return e},e}function nO(){let e=(0,p._)(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(45deg);\n width: 80%;\n height: 2px;\n background-color: ",";\n"]);return nO=function(){return e},e}function nT(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n text-transform: capitalize;\n gap: ",";\n"]);return nT=function(){return e},e}function nD(){let e=(0,p._)(["\n ","\n"]);return nD=function(){return e},e}function nI(){let e=(0,p._)(["\n display: flex;\n flex-grow: 0;\n flex-shrink: 0;\n user-select: none;\n pointer-events: none;\n transition: color ",";\n"]);return nI=function(){return e},e}function nE(){let e=(0,p._)(["\n ","\n flex-shrink: 1;\n transition: opacity ",";\n"]);return nE=function(){return e},e}function nH(){let e=(0,p._)(["\n align-items: center;\n bottom: 0;\n display: flex;\n justify-content: center;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n"]);return nH=function(){return e},e}function nV(){let e=(0,p._)(["\n from {\n background-position: 0% 0%;\n }\n to {\n background-position: -200% 0%;\n }\n"]);return nV=function(){return e},e}function nF(){let e=(0,p._)([""]);return nF=function(){return e},e}function nB(){let e=(0,p._)(["\n position: relative;\n overflow: visible;\n display: inline-block;\n user-select: none;\n width: ",";\n border-radius: ",";\n cursor: ",";\n\n &::after {\n content: '';\n pointer-events: none;\n position: absolute;\n inset: 0;\n ","\n background-size: 200% 100%;\n animation: "," 1s linear infinite;\n animation-play-state: paused;\n transition: all 150ms;\n display: ",";\n }\n\n "," {\n --typography-scale: 1;\n align-items: center;\n background-color: ",";\n border-radius: ",";\n border: solid 1px ",";\n color: ",";\n\n display: inline-flex;\n font-family: inherit;\n text-align: ",";\n justify-content: ",";\n max-width: 100%;\n padding: calc("," - 1px) calc("," - 1px);\n position: relative;\n transition:\n background-color ",",\n border-color ",";\n width: ",";\n opacity: ",";\n }\n\n "," {\n ","\n line-height: ",";\n }\n\n &:hover {\n "," {\n background-color: ",";\n }\n\n "," {\n color: ",";\n }\n\n &:after {\n animation-play-state: running;\n }\n }\n\n [data-input-type='keyboard'] &:focus "," {\n background-color: ",";\n }\n\n "," > span + span {\n margin-left: ",";\n }\n "," > span {\n ","\n }\n\n "," {\n color: ",";\n }\n "]);return nB=function(){return e},e}function nR(){let e=(0,p._)(["\n ","\n\n ","\n"]);return nR=function(){return e},e}function nz(){let e=(0,p._)(["\n ","\n display: flex;\n flex-direction: column;\n gap: ",";\n"]);return nz=function(){return e},e}function nY(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n gap: ",";\n height: ",";\n"]);return nY=function(){return e},e}function nG(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return nG=function(){return e},e}function nW(){let e=(0,p._)(["\n /* The negative margin is used to offset the padding of the button so that the button aligns nicely with the content */\n margin-left: ",";\n height: ",";\n width: ",";\n"]);return nW=function(){return e},e}function nU(){let e=(0,p._)(["\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n"]);return nU=function(){return e},e}function nN(){let e=(0,p._)(["\n display: contents;\n"]);return nN=function(){return e},e}function nK(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n width: 4em;\n aspect-ratio: 1 / 1;\n padding: ",";\n margin: 0;\n border: none;\n background: none;\n cursor: pointer;\n &:hover {\n background: ",";\n }\n"]);return nK=function(){return e},e}function nZ(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: scale(0.95);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"]);return nZ=function(){return e},e}function nX(){let e=(0,p._)(["\n animation: "," ",";\n "]);return nX=function(){return e},e}function n_(){let e=(0,p._)(["\n user-select: none;\n background-color: ",";\n box-shadow: ",";\n border-radius: ",";\n padding: "," ",";\n max-width: ","em;\n color: ",";\n z-index: ",";\n\n ","\n "]);return n_=function(){return e},e}function nQ(){let e=(0,p._)(["\n ","\n"]);return nQ=function(){return e},e}function nJ(){let e=(0,p._)(["\n fill: ",";\n"]);return nJ=function(){return e},e}function nq(){let e=(0,p._)(["\n ","\n white-space: pre-wrap;\n strong {\n font-weight: ",";\n }\n"]);return nq=function(){return e},e}function n$(){let e=(0,p._)(["\n ","\n white-space: pre-wrap;\n"]);return n$=function(){return e},e}function n1(){let e=(0,p._)(["\n z-index: ",";\n"]);return n1=function(){return e},e}function n0(){let e=(0,p._)(["\n ","\n"]);return n0=function(){return e},e}function n2(){let e=(0,p._)(["\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n border: 1px solid ",";\n overflow: hidden;\n\n &::before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n border-radius: inherit;\n ",";\n }\n "]);return n2=function(){return e},e}function n5(){let e=(0,p._)(["\n position: relative;\n ","\n"]);return n5=function(){return e},e}function n3(){let e=(0,p._)([""]);return n3=function(){return e},e}function n7(){let e=(0,p._)(["\n position: relative;\n display: flex;\n align-items: center;\n user-select: none;\n touch-action: none;\n width: 100%;\n height: 1.4em;\n"]);return n7=function(){return e},e}function n9(){let e=(0,p._)(["\n background-color: ",";\n position: relative;\n flex-grow: 1;\n border-radius: 9999px;\n height: 2px;\n"]);return n9=function(){return e},e}function n4(){let e=(0,p._)(["\n position: absolute;\n background-color: ",";\n border-radius: 9999px;\n height: 100%;\n"]);return n4=function(){return e},e}function n6(){let e=(0,p._)(["\n display: block;\n width: 1.4em;\n height: 1.4em;\n background-color: ",";\n box-shadow: ",";\n border-radius: 50%;\n cursor: pointer;\n &:hover {\n transform: scale(1.1);\n }\n"]);return n6=function(){return e},e}function n8(){let e=(0,p._)(["\n display: contents;\n ","\n"]);return n8=function(){return e},e}function re(){let e=(0,p._)(["\n opacity: 0.5;\n "]);return re=function(){return e},e}function rt(){let e=(0,p._)(["\n background: transparent;\n border: none;\n\n ","\n\n &::placeholder {\n color: inherit;\n opacity: 0.5;\n }\n\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n "]);return rt=function(){return e},e}function rn(){let e=(0,p._)(["\n &,\n &:hover {\n border-color: ",";\n }\n "]);return rn=function(){return e},e}function rr(){let e=(0,p._)(["\n border: solid 1px ",";\n border-radius: ",";\n background-color: ",";\n\n &:hover {\n border-color: ",";\n }\n\n &:focus-within {\n border-color: ",";\n }\n\n ",";\n "]);return rr=function(){return e},e}function ri(){let e=(0,p._)(["\n &::placeholder {\n color: ",";\n }\n "]);return ri=function(){return e},e}function ro(){let e=(0,p._)(["\n ","\n color: ",";\n\n ","\n "]);return ro=function(){return e},e}function rl(){let e=(0,p._)(["\n pointer-events: none;\n opacity: 0.5;\n "]);return rl=function(){return e},e}function ra(){let e=(0,p._)(["\n ","\n ","\n user-select: none;\n display: flex;\n align-items: center;\n gap: ",";\n padding: "," ",";\n color: ",";\n\n ","\n"]);return ra=function(){return e},e}function rs(){let e=(0,p._)(["\n ","\n ","\n display: flex;\n padding: "," ",";\n"]);return rs=function(){return e},e}function ru(){let e=(0,p._)(["\n pointer-events: none;\n opacity: 0.5;\n "]);return ru=function(){return e},e}function rc(){let e=(0,p._)(["\n ","\n ","\n color: ",";\n\n ","\n"]);return rc=function(){return e},e}function rd(){let e=(0,p._)(["\n width: 1.4em;\n height: 1.4em;\n border-radius: 50%;\n border: 1px solid ",";\n"]);return rd=function(){return e},e}function rp(){let e=(0,p._)(["\n ","\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n flex: 1;\n"]);return rp=function(){return e},e}function rh(){let e=(0,p._)(["\n --typography-scale: 1;\n display: flex;\n flex-direction: column;\n gap: ",";\n width: 18em;\n"]);return rh=function(){return e},e}function rg(){let e=(0,p._)(["\n width: 100%;\n aspect-ratio: 1;\n border-radius: ",";\n border: 1px solid ",";\n"]);return rg=function(){return e},e}function rf(){let e=(0,p._)(["\n position: relative;\n width: 100%;\n"]);return rf=function(){return e},e}function rm(){let e=(0,p._)(["\n display: flex;\n width: 100%;\n height: 1.5em;\n border-radius: ",";\n border: 1px solid ",";\n"]);return rm=function(){return e},e}function ry(){let e=(0,p._)(["\n border: 2px solid ",";\n box-shadow: ",";\n width: 2em;\n height: 2em;\n top: 50%;\n border-radius: 50%;\n"]);return ry=function(){return e},e}function rx(){let e=(0,p._)(["\n ","\n user-select: none;\n z-index: ",";\n background: ",";\n border-radius: ",";\n box-shadow: ",";\n border: 1px solid ",";\n max-width: var(--radix-popover-content-available-width);\n color: ",";\n"]);return rx=function(){return e},e}function rb(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n padding: ",";\n"]);return rb=function(){return e},e}function rC(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return rC=function(){return e},e}function rv(){let e=(0,p._)(["\n width: 1.6em;\n height: 1.6em;\n border-radius: 50%;\n outline: ",";\n"]);return rv=function(){return e},e}function rj(){let e=(0,p._)(["\n background-color: ",";\n border: 1px solid ",";\n"]);return rj=function(){return e},e}function rA(){let e=(0,p._)(["\n ",";\n border: 1px solid ",";\n"]);return rA=function(){return e},e}function rw(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n gap: ",";\n"]);return rw=function(){return e},e}function rk(){let e=(0,p._)(["\n padding: 8px 0 0 0;\n h4 {\n padding: 0 12px;\n ",";\n color: ",";\n }\n * + h4 {\n margin-top: 8px;\n }\n"]);return rk=function(){return e},e}function rS(){let e=(0,p._)(["\n padding: 4px;\n display: grid;\n grid-template-columns: repeat(6, 1fr);\n"]);return rS=function(){return e},e}function rP(){let e=(0,p._)(["\n padding: 8px;\n"]);return rP=function(){return e},e}function rL(){let e=(0,p._)(["\n padding: 8px 12px 12px 12px;\n"]);return rL=function(){return e},e}function rM(){let e=(0,p._)(["\n padding: "," 0;\n & + & {\n margin-top: ",";\n }\n"]);return rM=function(){return e},e}function rO(){let e=(0,p._)(["\n ","\n color: ",";\n padding: 0 ",";\n margin-bottom: ",";\n"]);return rO=function(){return e},e}function rT(){let e=(0,p._)(["\n user-select: none;\n flex-shrink: ",";\n flex-grow: ",";\n flex-basis: auto;\n min-width: 0;\n color: ",";\n"]);return rT=function(){return e},e}function rD(){let e=(0,p._)(["\n background: ",";\n padding: ",";\n margin: "," 0;\n border-radius: ",";\n "]);return rD=function(){return e},e}function rI(){let e=(0,p._)(["\n display: inline-flex;\n color: ",";\n\n ","\n"]);return rI=function(){return e},e}function rE(){let e=(0,p._)(["\n margin: -"," 0;\n &:first-child {\n margin-left: ",";\n }\n &:last-child {\n margin-right: ",";\n }\n"]);return rE=function(){return e},e}function rH(){let e=(0,p._)(["\n ","\n ","\n"]);return rH=function(){return e},e}function rV(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return rV=function(){return e},e}function rF(){let e=(0,p._)(["\n &:hover {\n "," {\n color: ",";\n }\n "," {\n color: ",";\n }\n }\n "]);return rF=function(){return e},e}function rB(){let e=(0,p._)(["\n "," {\n color: ",";\n }\n "," {\n color: ",";\n }\n\n ","\n "]);return rB=function(){return e},e}function rR(){let e=(0,p._)(["\n background-color: ",";\n border-radius: ",";\n display: flex;\n align-items: center;\n gap: ",";\n padding: "," ",";\n ","\n"]);return rR=function(){return e},e}function rz(){let e=(0,p._)(["\n &:hover {\n > "," {\n background-color: ",";\n }\n }\n "]);return rz=function(){return e},e}function rY(){let e=(0,p._)(["\n ","\n user-select: none;\n display: block;\n width: 100%;\n min-width: 0;\n padding: ",";\n cursor: ",";\n ",";\n"]);return rY=function(){return e},e}function rG(){let e=(0,p._)(["\n ",";\n"]);return rG=function(){return e},e}function rW(){let e=(0,p._)(["\n display: inline-block;\n width: ",";\n"]);return rW=function(){return e},e}function rU(){let e=(0,p._)(["\n height: ",";\n display: flex;\n align-items: center;\n &:after {\n ","\n content: '';\n display: block;\n height: ",";\n border-radius: ",";\n width: 100%;\n }\n &:last-child {\n width: ",";\n }\n "]);return rU=function(){return e},e}function rN(){let e=(0,p._)(["\n ","\n"]);return rN=function(){return e},e}function rK(){let e=(0,p._)(["\n display: flex;\n align-self: center;\n flex-grow: 0;\n flex-shrink: 0;\n user-select: none;\n"]);return rK=function(){return e},e}function rZ(){let e=(0,p._)(["\n display: inline-flex;\n align-items: center;\n\n "," + ",", "," + "," {\n margin-left: ",";\n }\n"]);return rZ=function(){return e},e}function rX(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: "," "," ",";\n"]);return rX=function(){return e},e}function r_(){let e=(0,p._)(["\n ","\n ","\n flex-grow: 1;\n color: ",";\n"]);return r_=function(){return e},e}function rQ(){let e=(0,p._)(["\n display: flex;\n margin: "," ",";\n"]);return rQ=function(){return e},e}function rJ(){let e=(0,p._)(["\n ",";\n font-weight: 600;\n"]);return rJ=function(){return e},e}function rq(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return rq=function(){return e},e}function r$(){let e=(0,p._)(["\n height: 1px;\n background: ",";\n margin: "," ",";\n"]);return r$=function(){return e},e}function r1(){let e=(0,p._)(["\n ",";\n max-width: ",";\n max-height: ",";\n overflow: auto;\n display: flex;\n flex-direction: column;\n border-radius: inherit;\n "]);return r1=function(){return e},e}function r0(){let e=(0,p._)(["\n ",";\n"]);return r0=function(){return e},e}function r2(){let e=(0,p._)(["\n padding: ",";\n color: ",";\n text-align: center;\n word-break: break-word;\n"]);return r2=function(){return e},e}function r5(){let e=(0,p._)(["\n flex: 1 1 auto;\n overflow-y: auto;\n padding: "," ",";\n"]);return r5=function(){return e},e}function r3(){let e=(0,p._)(["\n flex: 0 0 auto;\n padding: "," "," "," ",";\n\n & + "," {\n padding-top: 0;\n }\n"]);return r3=function(){return e},e}function r7(){let e=(0,p._)(["\n flex: 0 0 auto;\n padding: "," "," "," ",";\n\n & + * {\n padding-top: 0;\n }\n"]);return r7=function(){return e},e}function r9(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n"]);return r9=function(){return e},e}function r4(){let e=(0,p._)(["\n opacity: 0;\n cursor: pointer;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n"]);return r4=function(){return e},e}function r6(){let e=(0,p._)(["\n font-size: ",";\n user-select: none;\n opacity: ",";\n background-color: ",";\n border-radius: ",";\n border: solid 1px ",";\n cursor: pointer;\n max-width: ",";\n min-width: ",";\n pointer-events: ",";\n position: relative;\n transition: all ",";\n width: ",";\n min-height: ",";\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n gap: ",";\n padding: "," ",";\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n &:focus-within {\n border-color: ",";\n }\n "]);return r6=function(){return e},e}function r8(){let e=(0,p._)(["\n ","\n"]);return r8=function(){return e},e}function ie(){let e=(0,p._)(["\n display: flex;\n"]);return ie=function(){return e},e}function it(){let e=(0,p._)(["\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n"]);return it=function(){return e},e}function ir(){let e=(0,p._)(["\n ","\n opacity: ",";\n color: ",";\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: inline-flex;\n"]);return ir=function(){return e},e}function ii(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return ii=function(){return e},e}function io(){let e=(0,p._)(["\n flex-grow: 1;\n"]);return io=function(){return e},e}function il(){let e=(0,p._)(["\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n color: ",";\n"]);return il=function(){return e},e}function ia(){let e=(0,p._)(["\n ","\n ","\n display: flex;\n padding: 0 "," 0 ",";\n border-width: 1px;\n position: relative;\n ","\n "]);return ia=function(){return e},e}function is(){let e=(0,p._)(["\n ","\n"]);return is=function(){return e},e}function iu(){let e=(0,p._)(["\n ","\n ","\n text-align: ",";\n width: 100%;\n "]);return iu=function(){return e},e}function ic(){let e=(0,p._)(["\n ","\n"]);return ic=function(){return e},e}function id(){let e=(0,p._)(["\n ",": var(--input-padding-x);\n "]);return id=function(){return e},e}function ip(){let e=(0,p._)(["\n pointer-events: none;\n display: inline-flex;\n position: absolute;\n ","\n top: 50%;\n transform: translateY(-50%);\n"]);return ip=function(){return e},e}function ih(){let e=(0,p._)(["\n ","\n border-radius: ",";\n ",";\n"]);return ih=function(){return e},e}function ig(){let e=(0,p._)(["\n --input-padding-x: ",";\n height: ",";\n "]);return ig=function(){return e},e}function im(){let e=(0,p._)(["\n --input-padding-x: ",";\n height: ",";\n "]);return im=function(){return e},e}function iy(){let e=(0,p._)(["\n --input-padding-x: ",";\n height: ",";\n "]);return iy=function(){return e},e}function ix(){let e=(0,p._)(["\n ","\n user-select: none;\n color: ",";\n margin-bottom: ",";\n"]);return ix=function(){return e},e}function ib(){let e=(0,p._)(["\n ","\n width: 1em;\n height: 1em;\n border-radius: 0.3em;\n"]);return ib=function(){return e},e}function iC(){let e=(0,p._)(["\n ","\n display: flex;\n flex-flow: row nowrap;\n"]);return iC=function(){return e},e}function iv(){let e=(0,p._)(["\n ","\n ","\n "]);return iv=function(){return e},e}function ij(){let e=(0,p._)(["\n ","\n ","\n padding: "," ",";\n color: ",";\n width: 100%;\n\n &:focus {\n outline: none;\n }\n"]);return ij=function(){return e},e}function iA(){let e=(0,p._)(["\n padding: ",";\n"]);return iA=function(){return e},e}function iw(){let e=(0,p._)(["\n position: fixed;\n transform: translateY(calc(-100% - ","));\n z-index: ",";\n display: inline-flex;\n padding: ",";\n background: ",";\n border-radius: ",";\n font-family: ",";\n --typography-scale: 1;\n &:before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n ",";\n }\n"]);return iw=function(){return e},e}function ik(){let e=(0,p._)(["\n width: 1px;\n margin: "," ",";\n background-color: ",";\n\n & + & {\n display: none;\n }\n"]);return ik=function(){return e},e}function iS(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n"]);return iS=function(){return e},e}function iP(){let e=(0,p._)(["\n ","\n"]);return iP=function(){return e},e}function iL(){let e=(0,p._)(["\n ","\n"]);return iL=function(){return e},e}function iM(){let e=(0,p._)(["\n ","\n"]);return iM=function(){return e},e}function iO(){let e=(0,p._)(["\n ","\n"]);return iO=function(){return e},e}function iT(){let e=(0,p._)(["\n ","\n"]);return iT=function(){return e},e}function iD(){let e=(0,p._)(["\n ","\n"]);return iD=function(){return e},e}function iI(){let e=(0,p._)(["\n .ProseMirror ."," {\n display: inline-block;\n }\n"]);return iI=function(){return e},e}function iE(){let e=(0,p._)(["\n blockquote."," {\n border-left: 3px solid ",";\n padding-left: ",";\n font-style: italic;\n\n p {\n color: ",";\n }\n }\n"]);return iE=function(){return e},e}function iH(){let e=(0,p._)(["\n h1."," {\n ","\n\n &:not(:last-child) {\n margin-bottom: ",";\n }\n\n &:not(:first-child) {\n margin-top: ",";\n }\n }\n\n h2."," {\n ","\n\n &:not(:first-child) {\n margin-top: ",";\n }\n }\n\n h3."," {\n ","\n\n &:not(:last-child) {\n margin-bottom: ",";\n }\n\n &:not(:first-child) {\n margin-top: ",";\n }\n }\n\n h6."," {\n ","\n\n &:not(:first-child) {\n margin-top: ",";\n }\n }\n\n p."," + p."," {\n margin-top: ",";\n }\n"]);return iH=function(){return e},e}function iV(){let e=(0,p._)(["\n a."," {\n ","\n }\n"]);return iV=function(){return e},e}function iF(){let e=(0,p._)(["\n ul.",", ol."," {\n padding-left: ",";\n }\n\n ul."," {\n list-style-type: disc;\n }\n\n ol."," {\n list-style-type: decimal;\n }\n"]);return iF=function(){return e},e}function iB(){let e=(0,p._)(["\n p."," {\n ","\n }\n"]);return iB=function(){return e},e}function iR(){let e=(0,p._)(["\n u."," {\n text-decoration: none;\n border-bottom: 1px solid currentColor;\n }\n"]);return iR=function(){return e},e}function iz(){let e=(0,p._)(["\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"]);return iz=function(){return e},e}function iY(){let e=(0,p._)(["\n ","\n\n .ProseMirror-focused {\n /** Overwrite default [data-input-type='keyboard'] *:focus outline */\n & {\n outline: none;\n }\n }\n\n * {\n caret-color: ",";\n }\n"]);return iY=function(){return e},e}function iG(){let e=(0,p._)(["\n content: attr(data-placeholder);\n position: absolute;\n left: 0;\n right: 0;\n color: var(--text-editor-placeholder-color, ",");\n pointer-events: none;\n"]);return iG=function(){return e},e}function iW(){let e=(0,p._)(["\n .is-editor-empty:before,\n .is-editor-empty .is-empty:before {\n ","\n }\n"]);return iW=function(){return e},e}function iU(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n display: flex;\n\n > div {\n flex: 1;\n display: flex;\n }\n\n [contenteditable] {\n flex: 1;\n }\n "]);return iU=function(){return e},e}function iN(){let e=(0,p._)(["\n ","\n overflow: auto;\n\n ","\n"]);return iN=function(){return e},e}function iK(){let e=(0,p._)(["\n ","\n max-width: 100%;\n flex-grow: 1;\n max-height: 12em;\n overflow-y: auto;\n color: ",";\n\n // Overrides placeholder styles\n .is-editor-empty::before {\n height: unset;\n color: ",";\n }\n\n .ProseMirror :is(h1, h2, h3, h4, h5, h6) {\n // Removes leading spaces from headings, left from markdown\n white-space: pre-line;\n }\n\n /* Reduce the scrollbar */\n &::-webkit-scrollbar {\n width: 0.25em;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: ",";\n border-radius: 0.5em;\n }\n"]);return iK=function(){return e},e}function iZ(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n padding: 0.2em 0.6em;\n max-width: 20em;\n overflow: hidden;\n"]);return iZ=function(){return e},e}function iX(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: ",";\n"]);return iX=function(){return e},e}function i_(){let e=(0,p._)(["\n ","\n ","\n color: ",";\n"]);return i_=function(){return e},e}function iQ(){let e=(0,p._)(["\n ","\n ","\n padding-top: 0.4em;\n margin: 0.4em 0;\n border-top: 1px solid rgba(255, 255, 255, 0.08);\n color: ",";\n"]);return iQ=function(){return e},e}function iJ(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ",";\n"]);return iJ=function(){return e},e}function iq(){let e=(0,p._)(["\n ","\n color: ",";\n"]);return iq=function(){return e},e}function i$(){let e=(0,p._)(["\n display: flex;\n flex-flow: column;\n min-width: 20em;\n max-width: 30em;\n"]);return i$=function(){return e},e}function i1(){let e=(0,p._)(["\n color: white;\n max-width: 100%;\n padding: 1.6em 1.6em 1.2em 1.6em;\n max-height: 20em;\n overflow-y: scroll;\n &::-webkit-scrollbar {\n display: none;\n }\n"]);return i1=function(){return e},e}function i0(){let e=(0,p._)(["\n ","\n display: flex;\n justify-content: space-between;\n padding: 1.2em 1.6em;\n border-top: 1px solid rgba(255, 255, 255, 0.08);\n color: ",";\n"]);return i0=function(){return e},e}function i2(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n display: flex;\n"]);return i2=function(){return e},e}function i5(){let e=(0,p._)(["\n transform: translate(-50%, -50%) rotate(-90deg) translateX(-50%);\n "]);return i5=function(){return e},e}function i3(){let e=(0,p._)(["\n transform: translate(-50%, -50%);\n "]);return i3=function(){return e},e}function i7(){let e=(0,p._)(["\n ","\n"]);return i7=function(){return e},e}function i9(){let e=(0,p._)(["\n border-radius: ",";\n padding: ","px ","px;\n "]);return i9=function(){return e},e}function i4(){let e=(0,p._)(["\n ","\n display: block;\n color: ",";\n opacity: ",";\n ","\n"]);return i4=function(){return e},e}function i6(){let e=(0,p._)(["\n position: absolute;\n"]);return i6=function(){return e},e}function i8(){let e=(0,p._)(["\n ","\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n span + span {\n margin-left: 0.4em;\n }\n span:nth-child(3) {\n opacity: 0.8;\n }\n"]);return i8=function(){return e},e}function oe(){let e=(0,p._)(["\n ","\n background: ",";\n color: ",";\n border: 1px solid ",";\n padding: "," ",";\n border-radius: ",";\n"]);return oe=function(){return e},e}function ot(){let e=(0,p._)(["\n position: absolute;\n"]);return ot=function(){return e},e}function on(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n"]);return on=function(){return e},e}function or(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n inset: 0;\n pointer-events: none;\n"]);return or=function(){return e},e}function oi(){let e=(0,p._)(["\n border: 2px solid ",";\n"]);return oi=function(){return e},e}function oo(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n width: 30px;\n height: 30px;\n border-radius: 50%;\n"]);return oo=function(){return e},e}function ol(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n"]);return ol=function(){return e},e}function oa(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n inset: 0;\n pointer-events: none;\n"]);return oa=function(){return e},e}function os(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n inset: 0;\n pointer-events: none;\n"]);return os=function(){return e},e}function ou(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n inset: 0;\n pointer-events: none;\n"]);return ou=function(){return e},e}function oc(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n inset: 0;\n pointer-events: none;\n"]);return oc=function(){return e},e}function od(){let e=(0,p._)(["\n stroke: ",";\n"]);return od=function(){return e},e}function op(){let e=(0,p._)(["\n position: absolute;\n"]);return op=function(){return e},e}function oh(){let e=(0,p._)(["\n position: absolute;\n"]);return oh=function(){return e},e}function og(){let e=(0,p._)(["\n position: absolute;\n inset: 0;\n"]);return og=function(){return e},e}function of(){let e=(0,p._)(["\n position: absolute;\n inset: 0;\n"]);return of=function(){return e},e}function om(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n"]);return om=function(){return e},e}function oy(){let e=(0,p._)(["\n pointer-events: all;\n"]);return oy=function(){return e},e}function ox(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n"]);return ox=function(){return e},e}function ob(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n\n // ensures the shadow isn't clipped\n > svg {\n overflow: visible;\n padding: 0.1em;\n }\n"]);return ob=function(){return e},e}function oC(){let e=(0,p._)(["\n ","\n display: flex;\n flex-direction: row;\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n color: ",";\n background: ",";\n &:before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n ",";\n }\n"]);return oC=function(){return e},e}function ov(){let e=(0,p._)(["\n fill: none;\n"]);return ov=function(){return e},e}function oj(){let e=(0,p._)(["\n fill: none;\n"]);return oj=function(){return e},e}function oA(){let e=(0,p._)(["\n pointer-events: all;\n"]);return oA=function(){return e},e}function ow(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n"]);return ow=function(){return e},e}function ok(){let e=(0,p._)(["\n ","\n display: flex;\n flex-direction: row;\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n color: ",";\n position: relative;\n background: ",";\n &:before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n ",";\n }\n"]);return ok=function(){return e},e}function oS(){let e=(0,p._)(["\n overflow: visible;\n position: absolute;\n"]);return oS=function(){return e},e}function oP(){let e=(0,p._)(["\n pointer-events: all;\n"]);return oP=function(){return e},e}function oL(){let e=(0,p._)(["\n fill: ",";\n"]);return oL=function(){return e},e}function oM(){let e=(0,p._)(["\n ","\n"]);return oM=function(){return e},e}function oO(){let e=(0,p._)(["\n position: absolute;\n inset: 0;\n"]);return oO=function(){return e},e}function oT(){let e=(0,p._)(["\n position: absolute;\n width: ","px;\n height: ","px;\n border-radius: 50%;\n background: ",";\n margin: -","px;\n"]);return oT=function(){return e},e}function oD(){let e=(0,p._)(["\n top: 0;\n left: 0;\n cursor: nwse-resize;\n"]);return oD=function(){return e},e}function oI(){let e=(0,p._)(["\n top: 0;\n right: 0;\n cursor: nesw-resize;\n"]);return oI=function(){return e},e}function oE(){let e=(0,p._)(["\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n"]);return oE=function(){return e},e}function oH(){let e=(0,p._)(["\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n"]);return oH=function(){return e},e}function oV(){let e=(0,p._)(["\n position: absolute;\n pointer-events: all;\n"]);return oV=function(){return e},e}function oF(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n"]);return oF=function(){return e},e}function oB(){let e=(0,p._)(["\n display: flex;\n background: ",";\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n font-family: ",";\n\n &:before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n ",";\n }\n"]);return oB=function(){return e},e}function oR(){let e=(0,p._)(["\n h1."," {\n ","\n margin-bottom: ",";\n }\n"]);return oR=function(){return e},e}function oz(){let e=(0,p._)(["\n ","\n\n .is-empty::before {\n ","\n }\n"]);return oz=function(){return e},e}function oY(){let e=(0,p._)(["\n ","\n\n .ProseMirror-focused {\n /** Hide default selection highlight when a NodeView is a part of text editor selection */\n [contenteditable='false'] textarea,\n [contenteditable='false'] input {\n &::selection {\n background-color: transparent;\n }\n }\n }\n"]);return oY=function(){return e},e}function oG(){let e=(0,p._)(["\n .is-editor-empty::before {\n ","\n }\n\n // We do not want headers in dashboard summaries to exceed the size of the page title\n .ProseMirror {\n h1,\n h2,\n h3,\n h4,\n h5 {\n font-weight: ",";\n font-size: inherit;\n line-height: inherit;\n font-weight: medium;\n }\n h1 {\n font-size: 1.8em;\n line-height: 2.4em;\n }\n\n h2 {\n font-size: 1.7em;\n line-height: 2.2em;\n }\n\n h3 {\n font-size: 1.6em;\n line-height: 2em;\n }\n }\n"]);return oG=function(){return e},e}function oW(){let e=(0,p._)(["\n ","\n"]);return oW=function(){return e},e}function oU(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n\n position: absolute;\n left: -999999px;\n top: -999999px;\n opacity: 0;\n pointer-events: none;\n\n h1."," {\n max-width: 100%;\n display: inline-block;\n }\n\n p."," {\n max-width: 100%;\n display: inline-block;\n }\n"]);return oU=function(){return e},e}function oN(){let e=(0,p._)(["\n .is-empty:before {\n ","\n }\n\n [contenteditable]:not(.ProseMirror-focused) {\n h1.",", p."," {\n ","\n }\n }\n\n h1."," {\n font-size: calc(","px * var(--typography-scale));\n margin: 0 !important;\n }\n\n p."," {\n font-size: calc(","px * var(--typography-scale));\n font-weight: 400;\n color: ",";\n margin: 0 !important;\n }\n"]);return oN=function(){return e},e}function oK(){let e=(0,p._)(["\n [contenteditable] {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: center;\n text-align: center;\n }\n\n "," [contenteditable] {\n align-items: center;\n }\n\n /* Placeholder */\n .is-empty:before {\n left: 50%;\n transform: translateX(-50%);\n }\n"]);return oK=function(){return e},e}function oZ(){let e=(0,p._)(["\n grid-template-columns: minmax(7.2em, auto) 1fr;\n "]);return oZ=function(){return e},e}function oX(){let e=(0,p._)(["\n [contenteditable] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: baseline;\n gap: ",";\n\n ","\n }\n"]);return oX=function(){return e},e}function o_(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n display: flex;\n\n > div {\n max-width: 100%;\n flex: 1;\n display: flex;\n }\n\n [contenteditable] {\n max-width: 100%;\n flex: 1;\n }\n "]);return o_=function(){return e},e}function oQ(){let e=(0,p._)(["\n && h1 {\n font-size: ","px;\n }\n\n && p {\n font-size: ","px;\n }\n "]);return oQ=function(){return e},e}function oJ(){let e=(0,p._)(["\n ","\n overflow: hidden;\n position: relative;\n\n ","\n ","\n\n ","\n\n h1."," {\n line-height: calc(\n ","px * var(--typography-scale)\n );\n }\n\n p."," {\n line-height: calc(\n ","px * var(--typography-scale)\n );\n }\n\n ","\n"]);return oJ=function(){return e},e}function oq(){let e=(0,p._)(["\n p."," {\n font-size: calc(","px * var(--typography-scale));\n line-height: 1.25;\n text-align: center;\n }\n"]);return oq=function(){return e},e}function o$(){let e=(0,p._)(["\n ","\n\n .is-editor-empty:before,\n .is-editor-empty .is-empty:before {\n ","\n transform: translateX(-50%);\n color: inherit;\n opacity: 0.5;\n }\n\n *::selection {\n background: var(--selection);\n color: ",";\n }\n\n * {\n caret-color: var(--selection);\n }\n"]);return o$=function(){return e},e}function o1(){let e=(0,p._)(["\n line-height: 1;\n z-index: 2;\n"]);return o1=function(){return e},e}function o0(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n background: ",";\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n font-family: ",";\n\n &:before {\n pointer-events: none;\n content: '';\n position: absolute;\n inset: 0;\n ",";\n }\n"]);return o0=function(){return e},e}function o2(){let e=(0,p._)(["\n ","\n ","\n"]);return o2=function(){return e},e}function o5(){let e=(0,p._)(["\n :first-child[data-placeholder]::before,\n :nth-child(2)[data-placeholder]::before {\n ","\n }\n h1,\n h2,\n h3 {\n &.",":not(:first-child) {\n margin-top: 8px;\n }\n }\n"]);return o5=function(){return e},e}function o3(){let e=(0,p._)(["\n *::selection {\n background: transparent;\n color: inherit;\n }\n "]);return o3=function(){return e},e}function o7(){let e=(0,p._)(["\n flex-grow: 1;\n min-height: 2.3em; // Same height as pinned text annotation\n color: ",";\n word-wrap: break-word;\n white-space: break-spaces;\n pointer-events: ",";\n cursor: ",";\n border-radius: 0.6em;\n display: flex;\n align-items: center;\n padding: 0 0.3em 0.1em 0.3em;\n\n @container plot-container (width <= ",") {\n & {\n --typography-scale: 0.9;\n }\n }\n\n @container plot-container (width <= ",") {\n & {\n --typography-scale: 0.8;\n }\n }\n\n > * {\n width: 100%;\n }\n\n p."," {\n line-height: 1.2;\n }\n\n // Workaround for Safari to prevent selecting the text from nearby annotations when resizing this annotation.\n ","\n"]);return o7=function(){return e},e}function o9(){let e=(0,p._)(["\n opacity: ",";\n"]);return o9=function(){return e},e}function o4(){let e=(0,p._)(["\n opacity: "," !important;\n\n .moveable-line.moveable-direction:not(.moveable-edge) {\n border: 1px solid ",";\n }\n"]);return o4=function(){return e},e}function o6(){let e=(0,p._)(["\n & + .moveable-control-box {\n ","\n }\n "]);return o6=function(){return e},e}function o8(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n min-width: auto;\n min-height: auto;\n max-width: none;\n max-height: none;\n display: flex;\n flex-direction: column;\n pointer-events: ",";\n\n &:hover + .moveable-control-box {\n ","\n }\n\n ","\n\n & + .moveable-control-box {\n --bounds-color: "," !important;\n pointer-events: all;\n opacity: ",";\n\n &:hover {\n ","\n }\n\n .moveable-line.moveable-direction:not(.moveable-edge) {\n background: "," !important;\n }\n\n .moveable-control {\n border-width: 0 !important;\n background: "," !important;\n width: 10px !important;\n height: 10px !important;\n margin-top: -5px !important;\n margin-left: -5px !important;\n }\n\n .moveable-direction.moveable-e,\n .moveable-direction.moveable-w {\n cursor: ew-resize !important;\n }\n }\n"]);return o8=function(){return e},e}function le(){let e=(0,p._)(["\n position: absolute;\n width: 3.2em;\n height: 3.2em;\n cursor: pointer;\n pointer-events: ",";\n z-index: ",";\n"]);return le=function(){return e},e}function lt(){let e=(0,p._)(["\n position: absolute;\n transform: translate(0, -50%);\n z-index: ",";\n pointer-events: ",";\n\n &:hover {\n z-index: ",";\n }\n"]);return lt=function(){return e},e}function ln(){let e=(0,p._)(["\n width: 1.8em;\n height: 1.8em;\n "]);return ln=function(){return e},e}function lr(){let e=(0,p._)(["\n position: absolute;\n width: 0.8em;\n height: 0.8em;\n border-radius: 50%;\n transform: translate(-50%, -50%);\n border: solid 1.5px ",";\n z-index: ",";\n color: ",";\n filter: drop-shadow(0px 2px 2px rgba(14, 14, 52, 0.08)) drop-shadow(0px 0px 2px rgba(15, 15, 24, 0.12));\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: ",";\n cursor: ",";\n transition:\n width 0.2s ease-in-out,\n height 0.2s ease-in-out;\n &:hover {\n ","\n\n & > * {\n opacity: 1;\n }\n }\n\n & > * {\n opacity: 0;\n }\n"]);return lr=function(){return e},e}function li(){let e=(0,p._)(["\n position: absolute;\n pointer-events: none;\n z-index: ",";\n"]);return li=function(){return e},e}function lo(){let e=(0,p._)(["\n ","\n"]);return lo=function(){return e},e}function ll(){let e=(0,p._)(["\n pointer-events: all;\n fill: none;\n"]);return ll=function(){return e},e}function la(){let e=(0,p._)(["\n ","\n user-select: none;\n fill: var(--typography-chart-text-color, ",");\n white-space: pre;\n"]);return la=function(){return e},e}function ls(){let e=(0,p._)(["\n position: absolute;\n left: 0;\n top: 0;\n will-change: transform;\n z-index: ",";\n"]);return ls=function(){return e},e}function lu(){let e=(0,p._)(["\n cursor: text;\n display: flex;\n align-items: center;\n justify-content: ",";\n text-align: ",";\n opacity: ",";\n transition: opacity ",";\n"]);return lu=function(){return e},e}function lc(){let e=(0,p._)(["\n ",";\n background: ",";\n color: ",";\n border-radius: ",";\n box-shadow: ",";\n padding: 0 ",";\n margin: 0 ",";\n\n input {\n border: 0;\n padding: 0;\n color: inherit;\n background: inherit;\n font-weight: inherit;\n font-size: inherit;\n text-align: inherit;\n\n &::placeholder {\n color: inherit;\n opacity: 0.5;\n }\n }\n"]);return lc=function(){return e},e}function ld(){let e=(0,p._)(["\n display: grid;\n align-items: center;\n grid-template-areas: 'overlap';\n overflow: hidden;\n"]);return ld=function(){return e},e}function lp(){let e=(0,p._)(["\n grid-area: overlap;\n visibility: hidden;\n white-space: pre;\n font: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n box-sizing: content-box;\n padding-right: 2px;\n"]);return lp=function(){return e},e}function lh(){let e=(0,p._)(["\n grid-area: overlap;\n font: inherit;\n letter-spacing: inherit;\n line-height: inherit;\n white-space: nowrap;\n background: transparent;\n border: none;\n outline: none;\n box-sizing: content-box;\n padding-right: 2px;\n min-width: 1px;\n overflow-x: auto;\n"]);return lh=function(){return e},e}function lg(){let e=(0,p._)(["\n ","\n fill: var(--typography-chart-text-color, ",");\n user-select: none;\n"]);return lg=function(){return e},e}function lf(){let e=(0,p._)(["\n container: plot-container / inline-size;\n flex: 1;\n user-select: none;\n height: 100%;\n position: relative;\n"]);return lf=function(){return e},e}function lm(){let e=(0,p._)(["\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: ",";\n"]);return lm=function(){return e},e}function ly(){let e=(0,p._)(["\n position: absolute;\n inset: 0;\n pointer-events: none;\n z-index: ",";\n"]);return ly=function(){return e},e}function lx(){let e=(0,p._)(["\n display: block;\n overflow: visible;\n position: absolute;\n inset: 0;\n clip-path: inset(-2em);\n z-index: ",";\n"]);return lx=function(){return e},e}function lb(){let e=(0,p._)(["\n position: absolute;\n z-index: 2;\n width: fit-content;\n max-width: 50%;\n right: 0;\n top: 0;\n height: 100%;\n display: flex;\n align-items: center;\n overflow: hidden;\n"]);return lb=function(){return e},e}function lC(){let e=(0,p._)(["\n position: absolute;\n"]);return lC=function(){return e},e}function lv(){let e=(0,p._)(["\n display: inline-block;\n position: absolute;\n left: 50%;\n top: 50%;\n"]);return lv=function(){return e},e}function lj(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n position: relative;\n border-radius: ",";\n"]);return lj=function(){return e},e}function lA(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n table-layout: fixed;\n border-collapse: separate;\n border-spacing: 0;\n"]);return lA=function(){return e},e}function lw(){let e=(0,p._)([""]);return lw=function(){return e},e}function lk(){let e=(0,p._)(["\n position: sticky;\n top: 0;\n padding: 0;\n background: ",";\n text-align: start;\n"]);return lk=function(){return e},e}function lS(){let e=(0,p._)(["\n ","\n ","\n color: ",";\n padding: "," ",";\n text-align: ",";\n"]);return lS=function(){return e},e}function lP(){let e=(0,p._)(["\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n gap: ",";\n padding: "," "," ",";\n justify-content: ",";\n"]);return lP=function(){return e},e}function lL(){let e=(0,p._)(["\n flex-shrink: 0;\n display: flex;\n"]);return lL=function(){return e},e}function lM(){let e=(0,p._)(["\n ","\n ","\n color: ",";\n flex-grow: ",";\n"]);return lM=function(){return e},e}function lO(){let e=(0,p._)([""]);return lO=function(){return e},e}function lT(){let e=(0,p._)(["\n ",", "," {\n border: 0 solid ",";\n border-right-width: 1px;\n border-bottom-width: 1px;\n\n &:first-child {\n border-left-color: ",";\n border-left-width: 1px;\n }\n\n &:last-child {\n border-right-color: ",";\n }\n }\n\n "," {\n border-top-width: 1px;\n border-top-color: ",";\n\n &:first-child {\n border-top-left-radius: ",";\n }\n\n &:last-child {\n border-top-right-radius: ",";\n }\n\n &:first-child,\n &:last-child {\n // Hides cell borders visible through sticky header when scrolling.\n box-shadow: 0 -6px 0 0 ",";\n }\n }\n\n &:last-child {\n ",":first-child {\n border-bottom-left-radius: ",";\n }\n ",":last-child {\n border-bottom-right-radius: ",";\n }\n "," {\n border-bottom-color: ",";\n }\n }\n"]);return lT=function(){return e},e}function lD(){let e=(0,p._)(["\n flex-grow: 1;\n display: flex;\n flex-wrap: nowrap;\n gap: ","px;\n justify-content: ",";\n align-items: ",";\n flex-direction: ",";\n user-select: none;\n ",";\n"]);return lD=function(){return e},e}function lI(){let e=(0,p._)([""]);return lI=function(){return e},e}function lE(){let e=(0,p._)(["\n border: 1px solid ",";\n border-radius: calc(1.4em * var(--typography-scale));\n padding: calc("," * var(--typography-scale)) calc("," * var(--typography-scale));\n"]);return lE=function(){return e},e}function lH(){let e=(0,p._)(["\n &:hover {\n cursor: pointer;\n }\n "]);return lH=function(){return e},e}function lV(){let e=(0,p._)(["\n display: inline-flex;\n gap: calc(","px * var(--typography-scale));\n align-items: center;\n max-width: 40em;\n transition: opacity ",";\n opacity: ",";\n ","\n\n ","\n"]);return lV=function(){return e},e}function lF(){let e=(0,p._)(["\n color: var(--typography-chart-text-color, ",");\n "]);return lF=function(){return e},e}function lB(){let e=(0,p._)(["\n color: var(--typography-chart-text-color, ",");\n "]);return lB=function(){return e},e}function lR(){let e=(0,p._)(["\n ","\n ","\n\n ","\n\n ","\n"]);return lR=function(){return e},e}function lz(){let e=(0,p._)(["\n color: var(--typography-chart-text-color, ",");\n display: inline-flex;\n gap: 0.4em;\n padding-left: 0.4em;\n"]);return lz=function(){return e},e}function lY(){let e=(0,p._)(["\n display: inline-flex;\n align-items: center;\n\n > :nth-child(1) {\n position: relative;\n z-index: 1;\n }\n\n > :nth-child(2) {\n margin-left: ",";\n }\n"]);return lY=function(){return e},e}function lG(){let e=(0,p._)(["\n width: calc(12px * var(--typography-scale));\n display: flex;\n justify-content: center;\n\n > svg {\n transform: scale(var(--typography-scale));\n }\n"]);return lG=function(){return e},e}function lW(){let e=(0,p._)(["\n from {\n opacity: 0;\n transform: scale(0.95);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"]);return lW=function(){return e},e}function lU(){let e=(0,p._)([""]);return lU=function(){return e},e}function lN(){let e=(0,p._)(["\n user-select: none;\n z-index: ",";\n max-width: 20em;\n max-height: var(--radix-popover-content-available-height);\n display: flex;\n flex-direction: column;\n background: ",";\n border: 1px solid ",";\n border-radius: 0.6em;\n transform-origin: var(--radix-popover-content-transform-origin);\n animation: "," 400ms cubic-bezier(0.16, 1, 0.3, 1);\n will-change: transform, opacity;\n"]);return lN=function(){return e},e}function lK(){let e=(0,p._)(["\n overflow-y: auto;\n padding: "," ",";\n"]);return lK=function(){return e},e}function lZ(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"]);return lZ=function(){return e},e}function lX(){let e=(0,p._)(["\n fill: ",";\n"]);return lX=function(){return e},e}function l_(){let e=(0,p._)(["\n position: relative;\n"]);return l_=function(){return e},e}function lQ(){let e=(0,p._)(["\n ","\n position: relative;\n z-index: 3;\n margin-left: ",";\n display: flex;\n gap: ","px;\n align-items: center;\n"]);return lQ=function(){return e},e}function lJ(){let e=(0,p._)(["\n display: flex;\n align-items: center;\n"]);return lJ=function(){return e},e}function lq(){let e=(0,p._)(["\n ","\n color: ",";\n white-space: nowrap;\n"]);return lq=function(){return e},e}function l$(){let e=(0,p._)(["\n ","\n position: absolute;\n z-index: 2;\n inset: 0;\n left: calc("," / 2);\n opacity: 0.67;\n"]);return l$=function(){return e},e}function l1(){let e=(0,p._)(["\n ","\n position: absolute;\n z-index: 1;\n inset: 0;\n opacity: 0.33;\n"]);return l1=function(){return e},e}function l0(){let e=(0,p._)(["\n display: flex;\n flex: 0 0 auto;\n flex-direction: row;\n justify-content: space-between;\n align-items: end;\n gap: ",";\n width: 100%;\n overflow: hidden;\n &:empty {\n display: none;\n }\n"]);return l0=function(){return e},e}function l2(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n gap: ",";\n justify-content: space-between;\n width: 100%;\n"]);return l2=function(){return e},e}function l5(){let e=(0,p._)(["\n margin-left: auto;\n"]);return l5=function(){return e},e}function l3(){let e=(0,p._)(["\n margin-top: calc("," * var(--typography-scale));\n display: flex;\n flex-flow: row nowrap;\n gap: calc("," * var(--typography-scale));\n"]);return l3=function(){return e},e}function l7(){let e=(0,p._)(["\n user-select: none;\n display: flex;\n flex-direction: column;\n gap: calc("," * var(--typography-scale));\n transition: opacity ",";\n opacity: ",";\n"]);return l7=function(){return e},e}function l9(){let e=(0,p._)(["\n display: flex;\n align-items: baseline;\n gap: calc("," * var(--typography-scale));\n min-height: calc("," * var(--typography-scale));\n white-space: nowrap;\n"]);return l9=function(){return e},e}function l4(){let e=(0,p._)(["\n ","\n color: var(--typography-chart-text-color, ",");\n"]);return l4=function(){return e},e}function l6(){let e=(0,p._)(["\n line-height: 1;\n opacity: 0.8;\n\n &:empty {\n display: none;\n }\n"]);return l6=function(){return e},e}function l8(){let e=(0,p._)(["\n ","\n white-space: nowrap;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: ",";\n color: var(--typography-chart-text-color, ",");\n"]);return l8=function(){return e},e}function ae(){let e=(0,p._)(["\n display: flex;\n justify-content: center;\n width: 1.2em;\n"]);return ae=function(){return e},e}function at(){let e=(0,p._)(["\n color: var(--typography-chart-text-color, ",");\n\n &:empty {\n display: none;\n }\n"]);return at=function(){return e},e}function an(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n align-items: end;\n white-space: nowrap;\n gap: ",";\n"]);return an=function(){return e},e}function ar(){let e=(0,p._)(["\n ","\n"]);return ar=function(){return e},e}function ai(){let e=(0,p._)(["\n display: inline-flex;\n align-items: center;\n gap: 0.4em;\n color: ",";\n"]);return ai=function(){return e},e}function ao(){let e=(0,p._)(["\n flex: 1 1 auto;\n min-width: 0;\n ","\n > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n"]);return ao=function(){return e},e}function al(){let e=(0,p._)(["\n width: calc(1.2em * var(--typography-scale));\n height: calc(1.2em * var(--typography-scale));\n background: ",";\n border-radius: 50%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n svg {\n width: calc(1.2em * var(--typography-scale));\n height: calc(1.2em * var(--typography-scale));\n }\n"]);return al=function(){return e},e}function aa(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: ",";\n"]);return aa=function(){return e},e}function as(){let e=(0,p._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: ",";\n"]);return as=function(){return e},e}function au(){let e=(0,p._)(["\n width: ",";\n height: ",";\n border: 1px solid ",";\n background-color: ",";\n border-radius: 9999px;\n"]);return au=function(){return e},e}function ac(){let e=(0,p._)(["\n pointer-events: none;\n overflow: visible;\n position: absolute;\n left: 0;\n top: 0;\n"]);return ac=function(){return e},e}function ad(){let e=(0,p._)(["\n fill: ",";\n"]);return ad=function(){return e},e}function ap(){let e=(0,p._)(["\n fill: ",";\n"]);return ap=function(){return e},e}function ah(){let e=(0,p._)(["\n ","\n fill: ",";\n"]);return ah=function(){return e},e}function ag(){let e=(0,p._)(["\n flex-grow: 1;\n position: relative;\n display: flex;\n flex-direction: column;\n font-family: var(--typography-chart-font-family);\n color: var(--typography-chart-text-color);\n"]);return ag=function(){return e},e}function af(){let e=(0,p._)(["\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n"]);return af=function(){return e},e}function am(){let e=(0,p._)(["\n flex: 1 1 0;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n"]);return am=function(){return e},e}function ay(){let e=(0,p._)(["\n position: absolute;\n left: 50%;\n top: 100%;\n z-index: ",";\n"]);return ay=function(){return e},e}function ax(){let e=(0,p._)(["\n position: absolute;\n inset: 1px;\n overflow: hidden;\n pointer-events: none;\n\n &.transition rect {\n transition:\n width 0.2s ease-in-out,\n height 0.2s ease-in-out,\n x 0.2s ease-in-out,\n y 0.2s ease-in-out,\n rx 0.2s ease-in-out,\n stroke-width 0.2s ease-in-out;\n }\n\n @media (prefers-reduced-motion: reduce) {\n &.transition rect {\n transition: none;\n }\n }\n"]);return ax=function(){return e},e}function ab(){let e=(0,p._)(["\n width: 100%;\n height: 100%;\n transition: background 0.2s ease-in-out;\n"]);return ab=function(){return e},e}function aC(){let e=(0,p._)(["\n display: block;\n width: 100%;\n height: 100%;\n"]);return aC=function(){return e},e}function av(){let e=(0,p._)(["\n display: flex;\n flex-direction: column;\n position: relative;\n"]);return av=function(){return e},e}function aj(){let e=(0,p._)(["\n background-color: ",";\n ","\n "]);return aj=function(){return e},e}function aA(){let e=(0,p._)(["\n transition: background-color 0.2s ease-out;\n background-color: ",";\n "]);return aA=function(){return e},e}function aw(){let e=(0,p._)(["\n position: relative;\n border-radius: ",";\n color: var(--typography-chart-text-color, ",");\n ","\n"]);return aw=function(){return e},e}function ak(){let e=(0,p._)(["\n transition: padding 0.2s ease-out;\n padding: ","px;\n overflow: ",";\n "]);return ak=function(){return e},e}function aS(){let e=(0,p._)(["\n "," {\n "," {\n box-shadow: 0 0 0 1px ",";\n }\n\n "," {\n box-shadow: 0 0 0 1px ",";\n }\n }\n "]);return aS=function(){return e},e}function aP(){let e=(0,p._)(["\n outline: "," solid ",";\n "]);return aP=function(){return e},e}function aL(){let e=(0,p._)(["\n --text-editor-placeholder-color: transparent;\n "]);return aL=function(){return e},e}function aM(){let e=(0,p._)(["\n --typography-scale: ",";\n --typography-chart-font-family: ",";\n --typography-chart-text-color: ",";\n --typography-chart-heading-font-family: ",";\n --typography-chart-heading-text-color: ",";\n\n ","\n\n position: relative;\n width: 100%;\n height: 100%;\n &,\n "," {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n "," {\n flex: 1 1 0;\n }\n "," {\n flex: 0 0 auto;\n }\n\n ","\n ","\n\n ","\n\n ","\n\n &:fullscreen {\n padding: min(",", 5vw);\n }\n"]);return aM=function(){return e},e}function aO(){let e=(0,p._)(["\n user-select: none;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: ",";\n padding: 0 ",";\n"]);return aO=function(){return e},e}function aT(){let e=(0,p._)(["\n ","\n color: ",";\n text-align: center;\n"]);return aT=function(){return e},e}function aD(){let e=(0,p._)(["\n ","\n color: ",";\n text-align: center;\n"]);return aD=function(){return e},e}function aI(){let e=(0,p._)(["\n .",":first-child {\n display: none;\n }\n "]);return aI=function(){return e},e}function aE(){let e=(0,p._)(["\n .",":not(:first-child) {\n display: none;\n }\n "]);return aE=function(){return e},e}function aH(){let e=(0,p._)(["\n position: relative;\n font-family: var(--typography-chart-heading-font-family);\n color: var(--typography-chart-heading-text-color);\n h1 {\n ",";\n padding-right: ","px;\n }\n .is-empty {\n display: ",";\n }\n &:focus-within {\n background: ",";\n }\n ","\n ","\n"]);return aH=function(){return e},e}function aV(){let e=(0,p._)(["\n position: absolute;\n right: 0;\n top: 0;\n"]);return aV=function(){return e},e}function aF(){let e=(0,p._)(["\n ",";\n color: var(--typography-chart-text-color, ",");\n"]);return aF=function(){return e},e}function aB(){let e=(0,p._)(["\n overflow: visible;\n pointer-events: none;\n"]);return aB=function(){return e},e}function aR(){let e=(0,p._)(["\n fill: ",";\n"]);return aR=function(){return e},e}function az(){let e=(0,p._)(["\n fill: ",";\n"]);return az=function(){return e},e}function aY(){let e=(0,p._)(["\n ","\n fill: ",";\n"]);return aY=function(){return e},e}function aG(){let e=(0,p._)(["\n fill: ",";\n"]);return aG=function(){return e},e}function aW(){let e=(0,p._)(["\n pointer-events: none;\n overflow: visible;\n position: absolute;\n z-index: ",";\n"]);return aW=function(){return e},e}n(29143);let aU={light:300,regular:400,medium:500,semiBold:600,bold:700,black:900},aN=(0,h.AH)(tl(),aU.medium),aK=(0,h.AH)(ta(),aU.semiBold),aZ=(0,h.AH)(ts(),aU.medium),aX=(0,h.AH)(tu(),aU.medium),a_=(0,h.AH)(tc(),aU.medium),aQ=(0,h.AH)(td(),aU.black),aJ=(0,h.AH)(tp(),aU.medium),aq=(0,h.AH)(th(),aU.medium),a$=(0,h.AH)(tg(),aU.medium),a1=(0,h.AH)(tf(),aU.medium),a0=(0,h.AH)(tm(),aU.medium),a2=(0,h.AH)(ty(),aU.semiBold),a5=(0,h.AH)(tx(),aU.medium),a3=(0,h.AH)(tb(),aU.medium),a7=(0,h.AH)(tC(),aU.semiBold),a9=(0,h.AH)(tv(),aU.light),a4=(0,h.AH)(tj(),aU.medium),a6=(0,h.AH)(tA(),aU.medium),a8=(0,h.AH)(tw(),aU.medium),se=(0,h.AH)(tk(),aU.medium),st=(0,h.AH)(tS(),aU.regular),sn=(0,h.AH)(tP(),aU.medium),sr=(0,h.AH)(tL(),aU.regular),si=(0,h.AH)(tM()),so=(0,h.AH)(tO()),sl=(0,h.AH)(tT(),aU.regular);var sa=Object.freeze({__proto__:null,axisLabel:aX,dataLabel:a0,differenceArrowLabelLarge:a7,differenceArrowLabelMedium:a3,differenceArrowLabelSmall:a5,goalLineValueLabel:a_,jumboTooltipLabel:sr,jumboTooltipValue:sn,legendItemLabel:aN,metric:aQ,metricInfo:aJ,metricTrend:aq,miniTooltipFooter:sl,miniTooltipLabel:si,miniTooltipValue:so,pieLabel:a9,seriesLabel:aK,stackTotal:a2,tickLabel:aZ,tooltipCaption:a4,tooltipCaptionSmall:a6,tooltipFooter:st,tooltipHeading:se,tooltipLabel:a8,trendTag:a$,trendTagSmall:a1});let ss={xs:"0.2em",sm:"0.4em",md:"0.8em",lg:"1.2em",xl:"2em",max:"999999px"},su={none:"0px 0px 0px rgba(15, 15, 24, 0), 0px 0px 0px rgba(14, 14, 52, 0)",xs:"0px 0px 2px rgba(15, 15, 24, 0.12), 0px 2px 2px rgba(14, 14, 52, 0.08)",sm:"0px 0px 4px rgba(15, 15, 24, 0.12), 0px 4px 4px rgba(14, 14, 52, 0.08)",md:"0px 0px 8px rgba(15, 15, 24, 0.12), 0px 8px 8px rgba(14, 14, 52, 0.08)",lg:"0px 0px 16px rgba(15, 15, 24, 0.12), 0px 16px 16px rgba(14, 14, 52, 0.08)"},sc=(e,t,n)=>(0,h.AH)(tD(),t,n?[n].flat().map(e=>e?"calc(".concat(ss[e]," - 1px)"):"0").join(" "):"0",e),sd=.8,sp=10,sh=100,sg={subtle:"100ms cubic-bezier(0.550, 0.085, 0.680, 0.530)"},sf="'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu',\n'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'",sm="'Aeonik', 'Aeonik Fallback', ".concat(sf),sy={modern:sf,timeless:"'Noto Serif', Georgia, 'Times New Roman', serif, 'Apple Color Emoji', 'NotoColorEmoji'",fresh:sm,technical:"'PT Mono', 'Courier New', monospace, 'Apple Color Emoji', 'NotoColorEmoji'",fineliner:"'Intruding Cat', cursive, 'Apple Color Emoji', 'NotoColorEmoji'",brand:"var(--brand-font-family), ".concat(sm),handwritten:"'Permanent Marker', cursive, 'Apple Color Emoji', 'NotoColorEmoji'"},sx={titleLarge:"2.8em",titleMedium:"2.2em",titleSmall:"1.8em",titleSmaller:"1.4em",titleSmallest:"1.2em",body:"1.4em",bodyBold:"1.4em",bodyLink:"1.4em",bodyLarge:"1.6em",caption:"1.2em",captionLink:"1.2em",label:"1em",labelSmall:"0.9em",captionBody:"1.5em"},sb={titleLarge:1.29,titleMedium:1.41,titleSmall:1.25,titleSmaller:1.43,titleSmallest:1.42,body:1.43,bodyBold:1.43,bodyLink:1.43,bodyLarge:1.5,caption:1.33,captionLink:1.33,label:1.3,labelSmall:1.44,captionBody:1.47},sC={titleLarge:"bold",titleMedium:"bold",titleSmall:"semiBold",titleSmaller:"semiBold",titleSmallest:"semiBold",body:"medium",bodyBold:"bold",bodyLink:"regular",bodyLarge:"medium",caption:"medium",captionLink:"regular",label:"medium",labelSmall:"medium",captionBody:"medium"},sv={titleLarge:null,titleMedium:null,titleSmall:null,titleSmaller:null,titleSmallest:null,body:null,bodyBold:null,bodyLink:"underline",bodyLarge:null,caption:null,captionLink:"underline",label:null,labelSmall:null,captionBody:null},sj="10px",sA={above:1,below:-1,stickyHeader:50,stickySidebar:52,vignette:51,toolbar:70,overlay:90,editorToolbar:299,editorToolbarPopover:298,drawer:100,popover:300,hint:310,modal:500,tooltip:550,toast:600,portalFactor:500,globalLoader:1e4},sw={mobile:375,tablet:768,desktop:1200,largeScreen:2e3};function sk(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function sS(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function sP(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError;let sL="symbol-dotted-pattern",sM="symbol-dotted-mask",sO=()=>(0,g.jsxs)("defs",{children:[(0,g.jsx)("pattern",{id:sL,patternUnits:"userSpaceOnUse",patternTransform:"rotate(90)",width:"10",height:"4",x:"0",y:"0",children:(0,g.jsx)("rect",{x:"0",y:"0",width:"10",height:"2",fill:"white"})}),(0,g.jsx)("mask",{id:sM,children:(0,g.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"url(#".concat(sL,")")})})]}),sT="symbol-hatch-pattern",sD="symbol-hatch-mask",sI=()=>(0,g.jsxs)("defs",{children:[(0,g.jsx)("pattern",{id:sT,patternUnits:"userSpaceOnUse",patternTransform:"rotate(-45)",width:"10",height:"3",x:"0",y:"0",children:(0,g.jsx)("rect",{x:"0",y:"0",width:"10",height:"2",fill:"white"})}),(0,g.jsx)("mask",{id:sD,children:(0,g.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"url(#".concat(sT,")")})})]}),sE={hatched:sD,dotted:sM},sH=e=>e?"url(#".concat(sE[e],")"):void 0,sV=e=>{var{symbol:t,fill:n,fillOpacity:r=1,pattern:i}=e,o=sk(e,["symbol","fill","fillOpacity","pattern"]);return(0,g.jsx)(sF,Object.assign({symbol:t,pattern:i},o,{style:Object.assign({color:n,opacity:r},o.style)}))},sF=e=>{var{symbol:t,pattern:n}=e,r=sk(e,["symbol","pattern"]);switch(t){case"bar":return(0,g.jsx)(sB,Object.assign({pattern:n},r));case"line":return(0,g.jsx)(sR,Object.assign({pattern:n},r));case"tile":return(0,g.jsx)(sz,Object.assign({pattern:n},r));case"pie":return(0,g.jsx)(sY,Object.assign({pattern:n},r));case"donut":return(0,g.jsx)(sG,Object.assign({pattern:n},r));case"point":return(0,g.jsx)(sW,Object.assign({pattern:n},r))}},sB=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sI,{}),(0,g.jsx)("rect",{width:"8",height:"10",x:"2",y:"1",fill:"currentColor",mask:sH(t),rx:"2"})]}))},sR=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sO,{}),(0,g.jsx)(sI,{}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 6C1 5.44772 1.44772 5 2 5H10C10.5523 5 11 5.44772 11 6C11 6.55228 10.5523 7 10 7H2C1.44772 7 1 6.55228 1 6Z",clipRule:"evenodd",mask:sH(t)})]}))},sz=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sI,{}),(0,g.jsx)("rect",{width:"8",height:"10",x:"1",y:"10",fill:"currentColor",mask:sH(t),rx:"2",transform:"rotate(-90 1 10)"})]}))},sY=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sI,{}),(0,g.jsx)("path",{fill:"currentColor",mask:sH(t),d:"M9.525 10.475c.552 0 1.006-.45.944-.998a9.003 9.003 0 00-7.946-7.946c-.549-.062-.998.392-.998.944v7a1 1 0 001 1h7z"})]}))},sG=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sI,{}),(0,g.jsx)("path",{fill:"currentColor",mask:sH(t),d:"M9.525 10.475c.552 0 1.006-.45.944-.998a9.003 9.003 0 00-7.946-7.946c-.549-.062-.998.392-.998.944v2.25c0 .552.453.99.993 1.105A4.75 4.75 0 016.17 9.482c.116.54.553.993 1.105.993h2.25z"})]}))},sW=e=>{var{pattern:t}=e,n=sk(e,["pattern"]);return(0,g.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",style:Object.assign({width:"calc(12px * var(--typography-scale))",height:"calc(12px * var(--typography-scale))"},n.style),fill:"none",viewBox:"0 0 12 12",children:[(0,g.jsx)(sI,{}),(0,g.jsx)("circle",{cx:6,cy:6,r:6,fill:"currentColor",mask:sH(t)})]}))},sU=12,sN={neutral:"inherit",positive:"#04F08E",negative:"#FF5C24"},sK=h.I4.div(tI(),e=>{let{$size:t}=e;return"small"===t?a1:a$},e=>{let{$appearance:t}=e;return sN[t]}),sZ=e=>{let{children:t,appearance:n="neutral",size:r="regular"}=e;return(0,g.jsx)(sK,{"aria-label":"Trend",$appearance:n,$size:r,children:t})},sX="–",s_="n/a",sQ=e=>({plain:String(e),rich:String(e)});class sJ{incrementYearIfNeeded(e){var t;null===sS(this,h7,"f")?sP(this,h7,e.getUTCFullYear(),"f"):null!==sS(this,h3,"f")&&(0,f.Y)(new Date((new Date).getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),new Date((new Date).getUTCFullYear(),sS(this,h3,"f").getUTCMonth(),sS(this,h3,"f").getUTCDate()))&&sP(this,h7,(t=sS(this,h7,"f"),++t),"f"),e.setUTCFullYear(sS(this,h7,"f")),sP(this,h3,e,"f")}constructor(){h3.set(this,null),h7.set(this,null)}}h3=new WeakMap,h7=new WeakMap;let sq=e=>"propertyKey"in e&&"rowIndex"in e,s$=e=>"highlight"===e.config.type,s1=e=>"difference-arrow"===e.config.type,s0=e=>"tooltip"===e.config.type,s2={k:1e3,m:1e6,b:1e9},s5=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";switch(t){case"none":return{base:e,suffix:""};case"auto":{let t=e>=s2.b?"b":e>=s2.m?"m":e>=s2.k?"k":"none";return s5(e,t)}default:return{base:e/s2[t],suffix:t}}},s3=e=>"--graphy-".concat((0,m.A)(e)),s7=e=>"var(".concat(s3(e),")"),s9=(e,t)=>"color-mix(in srgb, transparent, ".concat(e," ").concat(100*t,"%)"),s4=(e,t)=>"hsl(from ".concat(e," h s calc(l * ").concat(1-t,"))"),s6=(e,t)=>"hsl(from ".concat(e," h s calc(l * ").concat(1+t,"))"),s8=(e,t,n)=>"color-mix(in srgb, ".concat(e,", ").concat(t," ").concat(100*n,"%)"),ue=(e,t)=>"hsl(from ".concat(e," calc(s - s * ").concat(t,") l)"),ut=e=>Object.entries(e.values).map(e=>{let[t,n]=e;return"".concat(s3(t),": ").concat(n,";")}).join("\n"),un=(e,t)=>e.map(e=>"--".concat(t(e),": ").concat(e.value,";")).join("\n"),ur="[data-graphy-theme='dark'] &",ui="[data-graphy-theme='light'] &",uo=e=>"c".concat(e+1),ul=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({key:(0,M.Ak)()},e)},ua=(e,t)=>()=>{let n=(0,O.useContext)(e);if(!n)throw Error("Unable to read context. ".concat(t," is missing."));return n},us=e=>"x"in e&&"y"in e&&"yValue"in e,uu=e=>"highlight"in e&&"value"in e&&"label"in e&&"color"in e,uc=T.Ay.union([T.Ay.string(),T.Ay.number(),T.Ay.null()]),ud=T.Ay.intersection(T.Ay.record(uc),T.Ay.object({__graphyExternalId__:T.Ay.string().optional()})),up=T.Ay.array(ud),uh=D.bz(),ug=D.vk(e=>{if("object"!=typeof e||null===e)return e;let t=e=>{var n;if("object"!=typeof e||null===e)return e;let r=Object.assign({},e);return"marks"in e&&(r.marks=Array.isArray(n=e.marks)?n.map(e=>{if("object"==typeof e&&null!==e&&"type"in e&&"textStyle"===e.type&&"attrs"in e&&"object"==typeof e.attrs&&null!==e.attrs&&"font"in e.attrs&&"string"==typeof e.attrs.font){let t=e.attrs.font;return Object.assign(Object.assign({},e),{attrs:Object.assign(Object.assign({},e.attrs),{font:{id:t,label:t,fontFamily:t}})})}return e}):n),"content"in e&&Array.isArray(e.content)&&(r.content=e.content.map(e=>t(e))),r};return t(e)},uh),uf=D.Ik({id:D.Yj()}),um=D.Ik({rowIndex:D.ai(),propertyKey:D.Yj(),rowValue:uc.optional()}),uy=D.k5(["rectangle"]),ux=D.Ik({type:D.eu("shape"),shape:uy,x:D.ai(),y:D.ai(),width:D.ai(),height:D.ai(),fillColor:D.Yj(),fillOpacity:D.ai(),strokeWidth:D.ai(),order:D.k5(["below","above"])}),ub=uf.extend({config:ux}),uC=D.k5(["rocket","clapping-hands","thumbs-up","thumbs-down","grinning-face"]),uv=D.Ik({type:D.eu("sticker"),id:uC}),uj=uf.extend({config:uv}).merge(um),uA=D.Ik({type:D.eu("tooltip"),caption:ug.optional()}),uw=uf.extend({config:uA}).merge(um),uk=D.k5(["data-point","series","x-value"]),uS=D.Ik({type:D.eu("highlight"),highlight:uk}),uP=uf.extend({config:uS}).merge(um),uL=D.k5(["fade","opaque"]),uM=D.Ik({type:D.eu("text"),dimensions:D.Ik({x:D.ai(),y:D.ai(),width:D.ai()}),backgroundColor:D.Yj().optional(),backgroundColorStyle:uL.optional(),content:ug}),uO=uf.extend({config:uM}),uT=D.k5(["line-arrow","none"]),uD=D.k5(["thin","medium","thick"]),uI=D.k5(["solid","dashed"]),uE=D.Ik({color:D.Yj().nullable(),thickness:uD.default("medium"),startArrowheadStyle:uT.default("none"),lineStyle:uI.default("solid"),endArrowheadStyle:uT.default("line-arrow"),stickerStyle:D.zM().default(!1)}),uH=D.Ik({type:D.eu("arrow"),start:D.Ik({x:D.ai(),y:D.ai()}),end:D.Ik({x:D.ai(),y:D.ai()}),attributes:uE}),uV=uf.extend({config:uH}),uF=D.k5(["absolute-difference","relative-difference","proportion"]),uB=D.k5(["small","medium","large"]),uR=D.Ik({type:uF.default("relative-difference"),color:D.Yj().nullable().default(null),size:uB.default("small"),labelCrossPosition:D.ai().optional()}),uz=D.Ik({type:D.eu("difference-arrow"),start:um,end:um,attributes:uR.default({})}),uY=uf.extend({config:uz}),uG=D.gM("type",[uv,uA,uS,uM,uH,uz,ux]),uW=D.KC([D.eu("sticker"),D.eu("tooltip"),D.eu("highlight"),D.eu("text"),D.eu("arrow"),D.eu("difference-arrow"),D.eu("shape")]),uU=D.KC([uj,uw,uP,uO,uV,uY,ub]),uN=D.YO(uU),uK=T.Ay.preprocess(e=>{let t=String(e).replace(/\s+/g,"");return"#"!==t.charAt(0)?"#".concat(t):t},T.Ay.string().regex(/^#([\da-f]{3}|([\da-f]{2}){2,4})$/i)).describe("hex color. E.g #f00, #0000ff, #ff0099aa"),uZ=T.Ay.enum(["solid","dashed","dotted"]),uX=T.Ay.enum(["solid","hatched"]),u_=T.Ay.object({color:uK.optional(),fillType:uX.optional(),lineType:uZ.optional()}),uQ=T.Ay.object({series1:u_.optional(),series2:u_.optional(),series3:u_.optional(),series4:u_.optional(),series5:u_.optional(),series6:u_.optional(),series7:u_.optional(),series8:u_.optional(),series9:u_.optional(),series10:u_.optional(),series11:u_.optional(),series12:u_.optional(),series13:u_.optional(),series14:u_.optional(),series15:u_.optional(),series16:u_.optional(),series17:u_.optional(),series18:u_.optional(),series19:u_.optional(),series20:u_.optional(),waterfallStart:u_.optional(),waterfallPositive:u_.optional(),waterfallNegative:u_.optional(),waterfallTotal:u_.optional()}),uJ=T.Ay.enum(["series1","series2","series3","series4","series5","series6","series7","series8","series9","series10","series11","series12","series13","series14","series15","series16","series17","series18","series19","series20"]),uq=D.Ik({id:D.Yj().default(()=>crypto.randomUUID()),name:D.Yj(),seriesConfigs:D.YO(u_).default([]),isDefault:D.zM().default(!1).optional(),darkSeriesConfigs:D.YO(u_).default([])}),u$=D.YO(uq),u1=D.Ik({brandKitId:D.Yj(),seriesMappings:D.Ik({series1:D.ai().optional(),series2:D.ai().optional(),series3:D.ai().optional(),series4:D.ai().optional(),series5:D.ai().optional(),series6:D.ai().optional(),series7:D.ai().optional(),series8:D.ai().optional(),series9:D.ai().optional(),series10:D.ai().optional(),series11:D.ai().optional(),series12:D.ai().optional(),series13:D.ai().optional(),series14:D.ai().optional(),series15:D.ai().optional(),series16:D.ai().optional(),series17:D.ai().optional(),series18:D.ai().optional(),series19:D.ai().optional(),series20:D.ai().optional(),waterfallStart:D.ai().optional(),waterfallPositive:D.ai().optional(),waterfallNegative:D.ai().optional(),waterfallTotal:D.ai().optional()})}),u0=uQ,u2=D.k5(["graphy","mono","pastel","neon","custom","brandKit","customPalette"]),u5=D.k5(["solid","grey","tint","custom","transparent"]),u3=u5.Values.solid,u7=D.k5(["red","orange","yellow","green","cyan","blue","purple","dark_purple","plum","pink"]),u9=D.k5(["neon_pink","lilac","blackberry","sun","iceland","sunset","ultraviolet","purple","ice_cream","mint","cool","fresh"]),u4=D.k5(["purple","plum","pink","red","orange","yellow","green","cyan","blue","dark_purple"]),u6=D.eu("graphy"),u8=D.Ik({theme:u2.extract(["graphy"]),palette:u6}),ce=D.k5(["green","cyan","blue","purple","plum","pink","red","orange","yellow"]),ct=D.k5(["green","cyan","blue","purple","plum","pink","red","orange","yellow"]),cn=D.eu("pastel"),cr=D.Ik({theme:u2.extract(["pastel"]),palette:cn}),ci=D.k5(["blue","cyan","green","yellow","orange","red","pink","purple","grey"]),co=D.Ik({theme:u2.extract(["mono"]),palette:ci}),cl=co,ca=D.k5(["cyan","pink","purple","red","orange","yellow","green","blue"]),cs=D.Ik({theme:u2.extract(["neon"]),palette:ca}),cu=cs,cc=D.k5(["start","positive","negative","total"]),cd=D.Ik({theme:u2.extract(["custom"]),palette:D.ch()}),cp=D.Ik({theme:u2.extract(["brandKit"]),palette:D.ch(),brandKitConfig:u1.optional()}),ch=D.Ik({theme:u2.extract(["customPalette"]),palette:D.Yj().min(1)}),cg=D.KC([u8,co,cr,cs]),cf=D.KC([u8,cl,cr,cu,cd,cp,ch]),cm=D.k5(["0.8","1","1.2","1.4","1.6","1.8","2","2.5","3","4"]),cy=D.k5(["grey","fade-color"]),cx=cy.Values["fade-color"],cb=D.k5(["modern","fresh","timeless","technical","fineliner","brand"]),cC=cb.Values.modern,cv=D.Ik({id:D.Yj(),label:D.Yj(),fontFamily:D.Yj()}),cj=D.YO(cv),cA=D.vk(e=>"string"==typeof e?{heading:{fontId:e},body:{fontId:e}}:e,D.Ik({heading:D.Ik({fontId:D.Yj().optional(),color:D.Yj().optional()}),body:D.Ik({fontId:D.Yj().optional(),color:D.Yj().optional()})})),cw=D.KC([cb,cA]),ck=D.KC([u9,u4,ct,ci]),cS={none:0,stroke:1,border:12},cP=D.vk(e=>"none"===e?cS.none:"stroke"===e?cS.stroke:"border"===e?cS.border:e,D.ai().min(0).max(64)),cL=D.k5(["none","gradient","solid","grey","preset","custom"]),cM=D.KC([ck,uK]),cO=D.k5(["none","gradient","solid","custom"]),cT=cf.and(D.Ik({seriesConfig:uQ.optional(),textScale:cm.optional(),hasTransparentBackground:D.zM().optional(),highlightStyle:cy.optional(),backgroundStyle:u5.optional(),customBackgroundColor:D.Yj().optional(),shouldHideTitle:D.zM().optional(),shouldHideSubtitle:D.zM().optional(),shouldHideCaption:D.zM().optional(),shouldHideSourceSection:D.zM().optional(),shouldHideLogo:D.zM().optional(),hasRoundedCorners:D.zM().optional(),disableTooltips:D.zM().optional(),disableAnimation:D.zM().optional(),font:cw.optional(),borderType:cL.optional(),borderStroke:cP.optional(),borderColor:cM.optional(),borderStyle:cO.nullish(),borderStyleName:ck.nullish(),customBorderStyle:uK.optional()})),cD=e=>null!==e,cI=D.k5(["count","distinct","max","min","sum","mean","mode","median"]),cE=D.k5(["year","quarter","month","week","day"]),cH=D.k5(["<","<=",">",">="]),cV=D.k5(["contains","does not contain"]),cF=D.k5(["===","!=="]),cB=D.eu("within last"),cR=D.KC([cH,cV,cF]),cz=D.KC([D.Yj(),D.ai(),D.p6()]),cY=D.Ik({key:D.Yj(),operator:cR,value:cz}),cG=D.Ik({key:D.Yj(),operator:cB,value:D.ai(),timeUnit:cE}),cW=D.KC([cY,cG]),cU=D.Ik({key:D.Yj(),originalKey:D.Yj(),isDerived:D.zM().optional(),aggregation:cI.optional()}),cN=D.Ik({key:D.Yj(),timeUnit:cE.optional()}),cK=D.k5(["asc","desc"]),cZ=D.Ik({key:D.Yj(),direction:cK}),cX=D.KC([D.eu(0),D.eu(1),D.eu(2),D.eu(3),D.eu(4),D.eu(5),D.eu(6)]),c_=D.Ik({groupBy:cN.optional(),sortBy:D.YO(cZ).optional(),properties:D.YO(cU),filters:D.YO(cW).optional(),weekStartsOn:cX.optional()}),cQ=T.Ay.enum(["line","areaStacked","bar","barStacked","barStackedFill","column","columnStacked","columnStackedFill","combo","pie","donut","funnel","heatmap","scatter","bubble","waterfall","table","mekko"]),cJ=["bar","barStacked","barStackedFill"],cq=["column","columnStacked","columnStackedFill"],c$=["scatter","bubble"],c1=["pie","donut"],c0=T.Ay.enum(["linear","catmull-rom"]),c2=T.Ay.enum(["grouped-bars","stacked-bars","lines"]),c5=T.Ay.enum(["trendline","average"]),c3=T.Ay.enum(["goal","custom"]),c7=T.Ay.enum(["current","average","total","conversion"]),c9=T.Ay.enum(["tail","head","none"]),c4=T.Ay.enum(["EN_GB","EN_US"]),c6="EN_GB",c8=T.Ay.enum(["top","right","none"]),de=T.Ay.enum(["auto","edges"]),dt=T.Ay.enum(["single","double"]),dn=T.Ay.enum(["center","left"]),dr=T.Ay.enum(["linear","exponential","logarithmic","quadratic","power","loess","polynomial"]),di=T.Ay.enum(["empty","zero","fill"]),dl=T.Ay.object({type:cQ,comboPlotType:c2.optional(),topAxisLabel:T.Ay.string().nullish(),bottomAxisLabel:T.Ay.string().nullish(),leftAxisLabel:T.Ay.string().nullish(),rightAxisLabel:T.Ay.string().nullish(),presetPowerUp:c5.nullish(),customPowerUp:c3.nullish(),averageLineSeriesKey:T.Ay.string().nullish(),trendLineType:dr.optional(),headlineMetric:c7.nullish(),headlineMetricComparisonValue:c9.nullish(),xGoalValue:T.Ay.custom().nullish(),yGoalValue:T.Ay.number().nullish(),customGoalLineLabel:T.Ay.string().nullish(),customLineValue:T.Ay.number().nullish(),customLineLabel:T.Ay.string().nullish(),locale:c4.optional(),curveType:c0.optional(),pieTotalPosition:dn.nullish(),shouldStartFromZero:T.Ay.boolean().optional(),customYAxisStartFrom:T.Ay.number().nullable().optional(),customYAxisEndAt:T.Ay.number().nullable().optional(),useLogScale:T.Ay.boolean().optional(),hasGridLines:T.Ay.boolean().optional(),showStackTotals:T.Ay.boolean().optional(),showDataLabels:T.Ay.boolean().optional(),showPoints:T.Ay.boolean().optional(),showPercentageLabels:T.Ay.boolean().optional(),showCategoryLabels:T.Ay.boolean().optional(),comboPlotAxisCount:dt.optional(),sortBars:T.Ay.boolean().optional(),hideCrossAxis:T.Ay.boolean().optional(),hideMainAxis:T.Ay.boolean().optional(),yAxisLabelsMode:de.optional(),xAxisLabelsMode:de.optional(),reverseCrossAxisPosition:T.Ay.boolean().optional(),legendPosition:c8.nullish(),lineThickness:T.Ay.number().nullish(),pointSize:T.Ay.number().nullish(),treatEmptyValues:di.optional()});!function(e){e.Aed="aed",e.Aud="aud",e.Bdt="bdt",e.Bhd="bhd",e.Brl="brl",e.Cad="cad",e.Chf="chf",e.Clp="clp",e.Cny="cny",e.Cop="cop",e.Czk="czk",e.Dkk="dkk",e.Egp="egp",e.Eur="eur",e.Gbp="gbp",e.Hkd="hkd",e.Huf="huf",e.Idr="idr",e.Ils="ils",e.Inr="inr",e.Jpy="jpy",e.Krw="krw",e.Kwd="kwd",e.Mxn="mxn",e.Myr="myr",e.Ngn="ngn",e.Nok="nok",e.Nzd="nzd",e.Php="php",e.Pkr="pkr",e.Pln="pln",e.Qar="qar",e.Ron="ron",e.Rub="rub",e.Sar="sar",e.Sek="sek",e.Sgd="sgd",e.Thb="thb",e.Try="try",e.Twd="twd",e.Usd="usd",e.Vnd="vnd",e.Zar="zar"}(h9||(h9={})),function(e){e.Currency="currency",e.Date="date",e.Datetime="datetime",e.Year="year",e.Quarter="quarter",e.MonthYear="month_year",e.Month="month",e.DayMonth="day_month",e.WeeklyDateRange="weekly_date_range",e.WeeklyDateRangeWithYear="weekly_date_range_with_year",e.Text="text",e.Boolean="boolean",e.Decimal="decimal",e.Duration="duration",e.Integer="integer",e.Percentage="percentage"}(h4||(h4={}));let da=D.Ik({type:D.eu(h4.Currency),iso:D.fc(h9)}),ds=D.KC([D.eu(h4.Date),D.eu(h4.Datetime),D.eu(h4.Year),D.eu(h4.MonthYear),D.eu(h4.Month),D.eu(h4.DayMonth),D.eu(h4.WeeklyDateRange),D.eu(h4.WeeklyDateRangeWithYear),D.eu(h4.Quarter)]),du=D.Ik({type:ds,dateFormat:D.lq(D.Yj())}),dc=D.Ik({type:D.KC([D.eu(h4.Text),D.eu(h4.Boolean),D.eu(h4.Decimal),D.eu(h4.Duration),D.eu(h4.Integer),D.eu(h4.Percentage)])}),dd=D.KC([du,da,dc]),dp=e=>ds.safeParse(e.type).success,dh=e=>e.type===h4.Currency,dg=D.Ik({key:D.Yj(),label:D.Yj().optional(),dataType:dd.optional(),isHidden:D.zM().optional(),aggregation:cI.optional()}),df=D.Ik({timeUnit:cE,value:D.ai()}),dm=D.Ik({properties:D.YO(dg),isDataHorizontal:D.zM(),shouldAggregate:D.zM().optional(),groupByTimeUnit:cE.optional(),sortBy:cZ.optional(),rollingDateFilter:df.nullish(),description:D.Yj().optional(),dateFormat:c4.optional()}),dy=D.k5(["auto"]).or(D.ai().min(0).max(5)),dx=D.k5(["none","auto","k","m","b"]),db=D.Ik({decimalPlaces:dy,abbreviation:dx}),dC=e=>e.length>0,dv=D.Ik({id:D.Yj().min(1),hex:D.Yj().regex(/^#(?:[0-9a-fA-F]{3}){1,2}$/),name:D.Yj().optional()}),dj=D.Ik({id:D.Yj(),name:D.Yj().min(1),colors:D.YO(dv).min(1)}),dA=D.YO(dj),dw=e=>e===h4.Text,dk=e=>e===h4.Boolean,dS=e=>ds.safeParse(e).success,dP=e=>e===h4.Month||e===h4.DayMonth||e===h4.WeeklyDateRange,dL=e=>e===h4.Integer||e===h4.Decimal||e===h4.Percentage||e===h4.Duration||e===h4.Currency,dM=e=>dL(e)?"numeric":dS(e)?"date":"text",dO=[{label:"Last 7 days",timeUnit:"day",value:7},{label:"Last 30 days",timeUnit:"day",value:30},{label:"Last 90 days",timeUnit:"day",value:90}],dT=[{label:"Last 4 weeks",timeUnit:"week",value:4},{label:"Last 8 weeks",timeUnit:"week",value:8},{label:"Last 12 weeks",timeUnit:"week",value:12},{label:"Last 24 weeks",timeUnit:"week",value:24}],dD=[{label:"Last 3 months",timeUnit:"month",value:3},{label:"Last 6 months",timeUnit:"month",value:6},{label:"Last 12 months",timeUnit:"month",value:12}],dI={[h4.Date]:dO,[h4.Datetime]:dO,[h4.DayMonth]:dO,[h4.WeeklyDateRange]:dT,[h4.WeeklyDateRangeWithYear]:dT,[h4.Month]:dD,[h4.MonthYear]:dD,[h4.Quarter]:[{label:"Last 2 quarters",timeUnit:"quarter",value:2},{label:"Last 3 quarters",timeUnit:"quarter",value:3},{label:"Last 4 quarters",timeUnit:"quarter",value:4}],[h4.Year]:[{label:"Last 2 years",timeUnit:"year",value:2},{label:"Last 5 years",timeUnit:"year",value:5},{label:"Last 10 years",timeUnit:"year",value:10}]},dE=e=>dI[e],dH=(e,t)=>dS(e)&&dI[e].some(e=>e.timeUnit===t),dV={width:944,height:600},dF={bar:1500,barStacked:1500,barStackedFill:1500,column:1500,columnStacked:1500,columnStackedFill:1500,mekko:1500,line:4e3,areaStacked:4e3,combo:1500,heatmap:1e3,pie:1e3,donut:1e3,funnel:1e3,scatter:1500,bubble:1500,waterfall:1500,table:1/0},dB=sy[cC],dR={timeless:{id:"timeless",label:"Timeless",fontFamily:cb.enum.timeless},fresh:{id:"fresh",label:"Fresh",fontFamily:cb.enum.fresh},modern:{id:"modern",label:"Modern",fontFamily:cb.enum.modern},technical:{id:"technical",label:"Technical",fontFamily:cb.enum.technical},fineliner:{id:"fineliner",label:"Fineliner",fontFamily:cb.enum.fineliner},brand:{id:"brand",label:"Brand",fontFamily:cb.enum.brand}},dz=[dR.modern,dR.fresh,dR.timeless,dR.technical,dR.fineliner,dR.brand],dY=[dR.modern,dR.fresh,dR.timeless,dR.technical],dG=[dR.modern,dR.fresh,dR.timeless,dR.technical,dR.fineliner],dW=e=>e?e in sy?sy[e]:e:dB,dU=e=>{var t,n;return e?"string"==typeof e?{heading:{fontId:e},body:{fontId:e}}:{heading:null!=(t=e.heading)?t:{fontId:cC},body:null!=(n=e.body)?n:{fontId:cC}}:{heading:{fontId:cC},body:{fontId:cC}}};!function(e){e.LOW="low",e.MEDIUM="medium",e.HIGH="high"}(h6||(h6={}));let dN="unknown.error";class dK extends Error{static toUnknownError(e,t){return e instanceof dK?(e.info=(0,y.A)(e.info,t),e):e instanceof Error?new dK(dN,"Unexpected error",e,t):new dK(dN,"Unexpected error",void 0,Object.assign(Object.assign({},t),{details:JSON.stringify(e)}))}toString(){return"".concat(this.name,": ").concat(this.message)}constructor(e,t,n,r){super(),this.code=e,this.message=t,this.cause=n,this.info=r,this.isReported=!1,this.name=this.constructor.name,this.info=Object.assign(Object.assign({},n instanceof dK&&(null==n?void 0:n.info)),r),this.message=function(e,t){return t instanceof Error?"".concat(e,"\nCaused by: ").concat(t.message):e}(this.message,this.cause),this.stack=function(e,t){return t instanceof Error?"".concat(e,"\nCause stack: ").concat(t.stack):e}(this.stack,this.cause)}}let dZ=e=>e instanceof Error&&"code"in e,dX="__WATERFALL_TOTAL__",d_=e=>{let{rowIndex:t,propertyKey:n}=e;return n===dX?dX:"".concat(t,":").concat(n)},dQ=e=>{if(e===dX)return{rowIndex:0,propertyKey:dX};let[t,n]=e.split(":"),r=t?Number.parseInt(t):NaN;if(!Number.isNaN(r)&&n)return{rowIndex:r,propertyKey:n};throw new dK("parse-data-point-id.error","Unable to parse data point",void 0,{dataPointId:e})},dJ=e=>({borderColor:"transparent"===e?"rgba(0,0,0,0.1)":s4(e,.1),fillColor:e});function dq(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",r="x"===n?"overflowX":"overflowY",i=window.getComputedStyle(e);return[i[r],i.overflow].some(e=>/auto|scroll/.test(e))?e:e.parentElement?dq(e.parentElement,n):null!=(t=document.scrollingElement)?t:document.documentElement}let d$=["/","-","."," "],d1=[["d","M","yy"],["d","MM","yy"],["d","MMMM","yy"],["dd","M","yy"],["dd","MM","yy"],["dd","MMMM","yy"],["do","MMMM","yy"],["d","M","yyyy"],["d","MM","yyyy"],["d","MMMM","yyyy"],["dd","M","yyyy"],["dd","MM","yyyy"],["dd","MMMM","yyyy"],["do","MMMM","yyyy"]],d0=[["M","d","yy"],["M","dd","yy"],["MM","d","yy"],["MM","dd","yy"],["MMMM","d","yy"],["MMMM","dd","yy"],["MMMM","do","yy"],["M","d","yyyy"],["M","dd","yyyy"],["MM","d","yyyy"],["MM","dd","yyyy"],["MMMM","d","yyyy"],["MMMM","dd","yyyy"],["MMMM","do","yyyy"]],d2=[["yyyy","M","d"],["yyyy","M","dd"],["yyyy","MM","d"],["yyyy","MM","dd"],["yyyy","MMMM","d"],["yyyy","MMMM","dd"],["yyyy","MMMM","do"]],d5=[["d","MMMM"],["dd","MMMM"],["do","MMMM"],["MMMM","d"],["MMMM","dd"],["MMMM","do"]],d3=[{dateFormat:"MMMM d, yyyy",type:h4.Date},{dateFormat:"MMMM dd, yyyy",type:h4.Date},{dateFormat:"MMMM do, yyyy",type:h4.Date},{dateFormat:"yyyy-MM",type:h4.MonthYear}],d7=e=>[...d3,...Object.entries({[h4.Date]:[..."EN_US"===e?[...d0,...d1]:[...d1,...d0],...d2],[h4.Year]:[["yyyy"]],[h4.DayMonth]:d5,[h4.MonthYear]:[["MMMM","yyyy"],["yyyy","MMMM"]],[h4.Month]:[["MMMM"]],[h4.Quarter]:[["QQQ","yyyy"],["yyyy","QQQ"]]}).flatMap(e=>{let[t,n]=e;return n.flatMap(e=>d$.map(n=>({dateFormat:e.join(n),type:t})))})],d9=e=>Object.entries({[h4.WeeklyDateRange]:d5,[h4.WeeklyDateRangeWithYear]:[..."EN_US"===e?[...d0,...d1]:[...d1,...d0],...d2]}).flatMap(e=>{let[t,n]=e;return n.flatMap(e=>d$.map(n=>({dateFormat:e.join(n),type:t})))}),d4=/^-?(\d{1,3}(,\d{3})*|\d+).?\d*(k|m|b|t)?$/i,d6=e=>!(e instanceof Date)&&!Array.isArray(e)&&"boolean"!=typeof e&&("string"==typeof e?d4.test(e)&&!Number.isNaN(Number(e.replace(/[,kmbt]/gi,""))):!Number.isNaN(Number(e))),d8={$:h9.Usd,"\xa3":h9.Gbp,"€":h9.Eur,"\xa5":h9.Jpy,"₹":h9.Inr,"₱":h9.Php,P:h9.Php,"₩":h9.Krw,"₪":h9.Ils,"₫":h9.Vnd,"₽":h9.Rub,"฿":h9.Thb,R$:h9.Brl,Rp:h9.Idr,RM:h9.Myr,"₦":h9.Ngn,zł:h9.Pln,"₺":h9.Try,kr:h9.Dkk,Fr:h9.Chf,R:h9.Zar,"د.إ":h9.Aed,"﷼":h9.Sar,Ch$:h9.Clp,NT$:h9.Twd,HK$:h9.Hkd,S$:h9.Sgd,A$:h9.Aud,C$:h9.Cad,NZ$:h9.Nzd,MX$:h9.Mxn},pe=e=>{let t=Object.keys(d8).sort((e,t)=>t.length-e.length).find(t=>e.includes(t)),n=e;if(t){let r=e.indexOf(t);0===r?n=e.slice(t.length):r===e.length-t.length?n=e.slice(0,e.length-t.length):"-"===e[0]&&1===r&&(n="-".concat(e.slice(t.length+1)))}return d4.test(n)?n.split(",").join(""):""},pt=e=>{if("string"==typeof e){let t=pe(e);return!!t.length&&d6(t)}return d6(e)},pn=/^\d{4}-\d{2}-\d{2}(T|\s)\d{1,2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|\+00:00)?$/,pr=e=>pn.test(e.trim()),pi=[[/\bJan\b/i,"January"],[/\bFeb\b/i,"February"],[/\bMar\b/i,"March"],[/\bApr\b/i,"April"],[/\bJun\b/i,"June"],[/\bJul\b/i,"July"],[/\bAug\b/i,"August"],[/\bSept?\b/i,"September"],[/\bOct\b/i,"October"],[/\bNov\b/i,"November"],[/\bDec\b/i,"December"]],po=e=>{if("string"==typeof e){let t=e;for(let[e,n]of pi)t=t.replace(e,n);return t}return e},pl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EN_GB",n=po(e);return pr(n)?{type:h4.Datetime}:d7(t).find(e=>{let{dateFormat:t,type:r}=e;return!(r===h4.Month&&n.length<3)&&t&&(0,E.f)((0,V.qg)(n,t,new Date))})},pa=(e,t)=>{let n=po(e);return!t&&d6(n)?(0,x.A)(Number(n)):"string"==typeof n?t?(0,E.f)((0,V.qg)(n,t,new Date)):!!pl(n)||pr(n)&&(0,E.f)(new Date(n)):(0,E.f)(n)},ps=/^-?\d{1,3}(?:,\d{3})*(?:\.\d+)?%?$/,pu=e=>!!d6(e)||"string"==typeof e&&ps.test(e),pc=/^\s*(19\d{2}|2[01]\d{2})\s*$/,pd=/\s*[–—]\s*|\s-\s/,pp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EN_GB",[n,r]=e.split(pd);if(!n||!r)return;let i=po(n).trim(),o=po(r).trim();return d9(t).find(e=>{let{dateFormat:t}=e;if(!t)return!1;let n=(0,V.qg)(i,t,new Date),r=(0,V.qg)(o,t,new Date);if(!(0,E.f)(n)||!(0,E.f)(r))return!1;let l=new sJ;l.incrementYearIfNeeded(n),l.incrementYearIfNeeded(r);let a=(0,I.c)(r,n);return!(!(0,H.v)(new Date(n.getFullYear(),1,28),{start:n,end:r})||5!==a)||6===a})},ph=(e,t)=>!!(e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,t)),pg=(e,t)=>ph(e,t)&&"string"==typeof e[t],pf=(e,t)=>{let n="string"==typeof e?e.trim():e;if(d6(n))return{type:h4.Decimal};if((e=>"boolean"==typeof e||!(!d6(e)||![0,1].includes(Number(e)))||"string"==typeof e&&["true","false"].includes(e.toLowerCase()))(n))return{type:h4.Boolean};let r="string"==typeof n&&pl(n,t);return r||"string"==typeof n&&pp(n,t)||(pa(n)?{type:h4.Date}:pu(n)?{type:h4.Percentage}:pt(n)&&"string"==typeof n?{type:h4.Currency,iso:(e=>{let t=Object.keys(d8).sort((e,t)=>t.length-e.length).find(t=>e.includes(t)),n=t?d8[t]:void 0;if(!n)throw Error("Could not get currency ISO");return n})(n)}:{type:h4.Text})},pm=e=>"string"==typeof e&&""===e.trim()||null==e||"-"===e,py=e=>{let{rows:t,properties:n}=e,r=n.every(e=>""===e.label)||0===n.length,i=t.every(e=>0===Object.keys(e).length)||0===t.length;return r&&i};function px(){let{title:e,subtitle:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"doc",content:[Object.assign({type:"heading",attrs:{level:3}},e&&{content:[{type:"text",text:e}]}),...t?[{type:"paragraph",content:[{type:"text",text:t}]}]:[]]}}let pb=()=>[],pC=()=>({isDataHorizontal:!1,properties:[]}),pv={type:"bar",bottomAxisLabel:null,leftAxisLabel:null,rightAxisLabel:null,curveType:"linear",topAxisLabel:null,hasGridLines:!0,presetPowerUp:null,customPowerUp:null,xGoalValue:null,yGoalValue:null,shouldStartFromZero:!1,useLogScale:!1,showStackTotals:!1,hideCrossAxis:!1,hideMainAxis:!1,showDataLabels:!1,showPercentageLabels:!1,showPoints:!1,headlineMetric:null,headlineMetricComparisonValue:"head",averageLineSeriesKey:null,locale:c6,comboPlotType:"grouped-bars",sortBars:!1,customGoalLineLabel:null,customLineValue:null,customLineLabel:null,reverseCrossAxisPosition:!1,trendLineType:"linear",pieTotalPosition:null,customYAxisStartFrom:null,customYAxisEndAt:null,showCategoryLabels:!1,comboPlotAxisCount:"double",legendPosition:null,lineThickness:null,pointSize:null,treatEmptyValues:"empty",yAxisLabelsMode:"auto",xAxisLabelsMode:"auto"},pj=[...cJ,...cq,"line","areaStacked","combo","funnel","scatter","bubble","waterfall","mekko"],pA=[...cJ,...cq,...c1,"funnel","heatmap","mekko"],pw=["line","areaStacked","scatter"],pk=["line","areaStacked"],pS=e=>{let t=Object.assign({},pv),n=Object.assign(Object.assign({},t),e);"barStacked"===n.type&&(t.showPercentageLabels=!0),["line","areaStacked"].includes(n.type)&&(t.shouldStartFromZero=!0),c1.includes(n.type)&&(t.showDataLabels=!0,t.showPercentageLabels=!0),"funnel"===n.type&&(t.showDataLabels=!0,t.headlineMetric="conversion"),"combo"===n.type&&(t.curveType="catmull-rom",t.comboPlotAxisCount="double"),"heatmap"===n.type&&(t.showDataLabels=!0,t.showPercentageLabels=!0);let r=Object.assign(Object.assign({},t),e);return pw.includes(r.type)||(r.customYAxisStartFrom=null),!0===r.useLogScale&&(r.shouldStartFromZero=!1,r.customYAxisStartFrom=null),(r.shouldStartFromZero||"number"==typeof r.customYAxisStartFrom)&&(r.useLogScale=!1),"areaStacked"===r.type&&"fill"===r.treatEmptyValues&&(r.treatEmptyValues="zero"),pA.includes(r.type)||(r.showPercentageLabels=!1),pj.includes(r.type)||(r.hideCrossAxis=!1,r.hideMainAxis=!1),pk.includes(r.type)||(r.useLogScale=!1),r},pP=e=>pS(Object.assign(Object.assign({},e),{type:"column"})),pL=e=>pS(Object.assign(Object.assign({},e),{type:"barStacked"})),pM=e=>pS(Object.assign(Object.assign({},e),{type:"barStackedFill"})),pO=e=>pS(Object.assign(Object.assign({},e),{type:"column"})),pT=e=>pS(Object.assign(Object.assign({},e),{type:"line"})),pD=e=>pS(Object.assign(Object.assign({},e),{type:"pie"})),pI=e=>pS(Object.assign(Object.assign({},e),{type:"donut"})),pE=e=>pS(Object.assign(Object.assign({},e),{type:"funnel"})),pH=e=>pS(Object.assign(Object.assign({},e),{type:"combo"})),pV=e=>pS(Object.assign(Object.assign({},e),{type:"heatmap"})),pF=e=>pS(Object.assign(Object.assign({},e),{type:"table"})),pB=e=>pS(Object.assign(Object.assign({},e),{type:"scatter"})),pR=e=>pS(Object.assign(Object.assign({},e),{type:"bubble"})),pz=e=>pS(Object.assign(Object.assign({},e),{type:"waterfall"})),pY=pO,pG={titleDocument:px({title:"Untitled"}),datasetConfig:{isDataHorizontal:!1,properties:[]},data:[],config:pY()},pW={titleDocument:px({title:"Example pie chart"}),config:pD(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Category"},{key:uo(1),label:"Value"}]}),data:[{[uo(0)]:"Headcount",[uo(1)]:"$38,456"},{[uo(0)]:"Legal",[uo(1)]:"$4,578"},{[uo(0)]:"Marketing",[uo(1)]:"$9,456"},{[uo(0)]:"Office",[uo(1)]:"$12,986"}]},pU=Object.assign(Object.assign({},pW),{config:Object.assign(Object.assign({},pW.config),{type:"donut"})}),pN={titleDocument:px({title:"Example line chart"}),config:pT(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Month"},{key:uo(1),label:"Series 1"},{key:uo(2),label:"Series 2"}]}),data:[{[uo(0)]:"Jan",[uo(1)]:"1467",[uo(2)]:"2456"},{[uo(0)]:"Feb",[uo(1)]:"1857",[uo(2)]:"2649"},{[uo(0)]:"Mar",[uo(1)]:"2485",[uo(2)]:"2987"},{[uo(0)]:"Apr",[uo(1)]:"3456",[uo(2)]:"3256"},{[uo(0)]:"May",[uo(1)]:"4789",[uo(2)]:"4895"},{[uo(0)]:"Jun",[uo(1)]:"5431",[uo(2)]:"5781"},{[uo(0)]:"Jul",[uo(1)]:"4576",[uo(2)]:"6548"},{[uo(0)]:"Aug",[uo(1)]:"3899",[uo(2)]:"5344"},{[uo(0)]:"Sep",[uo(1)]:"3476",[uo(2)]:"4883"},{[uo(0)]:"Oct",[uo(1)]:"4235",[uo(2)]:"4561"},{[uo(0)]:"Nov",[uo(1)]:"3256",[uo(2)]:"4127"},{[uo(0)]:"Dec",[uo(1)]:"2153",[uo(2)]:"3854"}]},pK=Object.assign(Object.assign({},pN),{config:Object.assign(Object.assign({},pN.config),{type:"areaStacked"})}),pZ={titleDocument:px({title:"Example scatter chart"}),config:pB(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(1),label:"Series 1"},{key:uo(2),label:"Series 2"}]}),data:[{[uo(1)]:"1467",[uo(2)]:"2456"},{[uo(1)]:"1857",[uo(2)]:"2649"},{[uo(1)]:"2485",[uo(2)]:"2987"},{[uo(1)]:"3456",[uo(2)]:"3256"},{[uo(1)]:"4789",[uo(2)]:"4895"},{[uo(1)]:"5431",[uo(2)]:"5781"},{[uo(1)]:"4576",[uo(2)]:"6548"},{[uo(1)]:"3899",[uo(2)]:"5344"},{[uo(1)]:"3476",[uo(2)]:"4883"},{[uo(1)]:"4235",[uo(2)]:"4561"},{[uo(1)]:"3256",[uo(2)]:"4127"},{[uo(1)]:"2153",[uo(2)]:"3854"}]},pX={titleDocument:px({title:"Example bubble chart"}),config:pR(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(1),label:"Series 1"},{key:uo(2),label:"Series 2"},{key:uo(3),label:"Series 3"}]}),data:[{[uo(1)]:"1467",[uo(2)]:"2456",[uo(3)]:"10"},{[uo(1)]:"1857",[uo(2)]:"2649",[uo(3)]:"10"},{[uo(1)]:"2485",[uo(2)]:"2987",[uo(3)]:"10"},{[uo(1)]:"3456",[uo(2)]:"3256",[uo(3)]:"10"},{[uo(1)]:"4789",[uo(2)]:"4895",[uo(3)]:"10"},{[uo(1)]:"5431",[uo(2)]:"5781",[uo(3)]:"10"},{[uo(1)]:"4576",[uo(2)]:"6548",[uo(3)]:"10"},{[uo(1)]:"3899",[uo(2)]:"5344",[uo(3)]:"10"},{[uo(1)]:"3476",[uo(2)]:"4883",[uo(3)]:"10"},{[uo(1)]:"4235",[uo(2)]:"4561",[uo(3)]:"10"},{[uo(1)]:"3256",[uo(2)]:"4127",[uo(3)]:"10"},{[uo(1)]:"2153",[uo(2)]:"3854",[uo(3)]:"10"}]},p_={titleDocument:px({title:"Example mekko chart"}),config:pS(Object.assign(Object.assign({},h8),{type:"mekko"})),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(1),label:"Category"},{key:uo(2),label:"Group A"},{key:uo(3),label:"Group B"},{key:uo(4),label:"Group C"},{key:uo(5),label:"Group D"}]}),data:[{[uo(1)]:"Category A",[uo(2)]:"15",[uo(3)]:"30",[uo(4)]:"40",[uo(5)]:"30"},{[uo(1)]:"Category B",[uo(2)]:"55",[uo(3)]:"30",[uo(4)]:"40",[uo(5)]:"15"},{[uo(1)]:"Category C",[uo(2)]:"30",[uo(3)]:"20",[uo(4)]:"25",[uo(5)]:"25"},{[uo(1)]:"Category D",[uo(2)]:"15",[uo(3)]:"15",[uo(4)]:"8",[uo(5)]:"12"}]},pQ={titleDocument:px({title:"Example waterfall chart"}),config:pz(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Label"},{key:uo(1),label:"Value"}]}),data:[{[uo(0)]:"Product revenue",[uo(1)]:"420000"},{[uo(0)]:"Services revenue",[uo(1)]:"210000"},{[uo(0)]:"Fixed costs",[uo(1)]:"-170000"},{[uo(0)]:"Variable costs",[uo(1)]:"-140000"}]},pJ={titleDocument:px({title:"Example column chart"}),config:pY(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Month"},{key:uo(1),label:"Category 1"},{key:uo(2),label:"Category 2"}]}),data:[{[uo(0)]:"Jul",[uo(1)]:"1467",[uo(2)]:"2456"},{[uo(0)]:"Aug",[uo(1)]:"1857",[uo(2)]:"2649"},{[uo(0)]:"Sep",[uo(1)]:"2485",[uo(2)]:"2987"},{[uo(0)]:"Oct",[uo(1)]:"3456",[uo(2)]:"3256"},{[uo(0)]:"Nov",[uo(1)]:"4789",[uo(2)]:"4895"},{[uo(0)]:"Dec",[uo(1)]:"5431",[uo(2)]:"5781"}]},pq=Object.assign(Object.assign({},pJ),{config:Object.assign(Object.assign({},pJ.config),{type:"columnStacked"})}),p$=Object.assign(Object.assign({},pJ),{config:Object.assign(Object.assign({},pJ.config),{type:"columnStackedFill"})}),p1=Object.assign(Object.assign({},pJ),{titleDocument:px({title:"Example bar chart"}),config:Object.assign(Object.assign({},pJ.config),{type:"bar"})}),p0=Object.assign(Object.assign({},p1),{config:Object.assign(Object.assign({},pJ.config),{type:"barStacked"})}),p2=Object.assign(Object.assign({},p1),{config:Object.assign(Object.assign({},pJ.config),{type:"barStackedFill"})}),p5={titleDocument:px({title:"Example funnel"}),config:pE(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Stage"},{key:uo(1),label:"Users"}]}),data:[{[uo(0)]:"Acquisition",[uo(1)]:"22000"},{[uo(0)]:"Activation",[uo(1)]:"7542"},{[uo(0)]:"Retention",[uo(1)]:"3472"},{[uo(0)]:"Referral",[uo(1)]:"1467"},{[uo(0)]:"Revenue",[uo(1)]:"500"}]},p3={titleDocument:px({title:"Example combo chart"}),config:pH({comboPlotType:"grouped-bars"}),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Month"},{key:uo(1),label:"Bar series"},{key:uo(2),label:"Line series"}]}),data:[{[uo(0)]:"Jan",[uo(1)]:"1467",[uo(2)]:"9.8%"},{[uo(0)]:"Feb",[uo(1)]:"1857",[uo(2)]:"10.0%"},{[uo(0)]:"Mar",[uo(1)]:"2485",[uo(2)]:"10.3%"},{[uo(0)]:"Apr",[uo(1)]:"3456",[uo(2)]:"12.3%"},{[uo(0)]:"May",[uo(1)]:"4789",[uo(2)]:"16.7%"},{[uo(0)]:"Jun",[uo(1)]:"4431",[uo(2)]:"13.4%"},{[uo(0)]:"Jul",[uo(1)]:"4576",[uo(2)]:"14.8%"},{[uo(0)]:"Aug",[uo(1)]:"3899",[uo(2)]:"16.1%"},{[uo(0)]:"Sep",[uo(1)]:"3476",[uo(2)]:"20.7%"},{[uo(0)]:"Oct",[uo(1)]:"4235",[uo(2)]:"20.1%"},{[uo(0)]:"Nov",[uo(1)]:"6256",[uo(2)]:"24.9%"},{[uo(0)]:"Dec",[uo(1)]:"7153",[uo(2)]:"25.3%"}]},p7={titleDocument:px({title:"Example combo chart"}),config:pH({comboPlotType:"stacked-bars"}),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Month"},{key:uo(1),label:"Bar series 1"},{key:uo(2),label:"Bar series 2"},{key:uo(3),label:"Line series"}]}),data:[{[uo(0)]:"Jan",[uo(1)]:"1467",[uo(2)]:"2435",[uo(3)]:"9.8%"},{[uo(0)]:"Feb",[uo(1)]:"1857",[uo(2)]:"1467",[uo(3)]:"10.0%"},{[uo(0)]:"Mar",[uo(1)]:"2485",[uo(2)]:"1857",[uo(3)]:"10.3%"},{[uo(0)]:"Apr",[uo(1)]:"3456",[uo(2)]:"2485",[uo(3)]:"12.3%"},{[uo(0)]:"May",[uo(1)]:"4789",[uo(2)]:"3456",[uo(3)]:"16.7%"},{[uo(0)]:"Jun",[uo(1)]:"4431",[uo(2)]:"4789",[uo(3)]:"13.4%"},{[uo(0)]:"Jul",[uo(1)]:"4576",[uo(2)]:"4431",[uo(3)]:"14.8%"},{[uo(0)]:"Aug",[uo(1)]:"3899",[uo(2)]:"4576",[uo(3)]:"16.1%"},{[uo(0)]:"Sep",[uo(1)]:"3476",[uo(2)]:"3899",[uo(3)]:"20.7%"},{[uo(0)]:"Oct",[uo(1)]:"4235",[uo(2)]:"3476",[uo(3)]:"20.1%"},{[uo(0)]:"Nov",[uo(1)]:"6256",[uo(2)]:"4235",[uo(3)]:"24.9%"},{[uo(0)]:"Dec",[uo(1)]:"7153",[uo(2)]:"6256",[uo(3)]:"25.3%"}]},p9={titleDocument:px({title:"Example combo chart"}),config:pH({comboPlotType:"lines"}),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!1,properties:[{key:uo(0),label:"Month"},{key:uo(1),label:"Line series 1"},{key:uo(2),label:"Line series 2"}]}),data:[{[uo(0)]:"Jan",[uo(1)]:"1467",[uo(2)]:"9.8%"},{[uo(0)]:"Feb",[uo(1)]:"1857",[uo(2)]:"10.0%"},{[uo(0)]:"Mar",[uo(1)]:"2485",[uo(2)]:"10.3%"},{[uo(0)]:"Apr",[uo(1)]:"3456",[uo(2)]:"12.3%"},{[uo(0)]:"May",[uo(1)]:"4789",[uo(2)]:"16.7%"},{[uo(0)]:"Jun",[uo(1)]:"4431",[uo(2)]:"13.4%"},{[uo(0)]:"Jul",[uo(1)]:"4576",[uo(2)]:"14.8%"},{[uo(0)]:"Aug",[uo(1)]:"3899",[uo(2)]:"16.1%"},{[uo(0)]:"Sep",[uo(1)]:"3476",[uo(2)]:"20.7%"},{[uo(0)]:"Oct",[uo(1)]:"4235",[uo(2)]:"20.1%"},{[uo(0)]:"Nov",[uo(1)]:"6256",[uo(2)]:"24.9%"},{[uo(0)]:"Dec",[uo(1)]:"7153",[uo(2)]:"25.3%"}]},p4={titleDocument:px({title:"Example heatmap"}),config:pV(),datasetConfig:(0,y.A)({isDataHorizontal:!1,properties:[]},{isDataHorizontal:!0,properties:[{key:uo(0),label:""},{key:uo(1),label:"Cohort 1"},{key:uo(2),label:"Cohort 2"},{key:uo(3),label:"Cohort 3"},{key:uo(4),label:"Cohort 4"},{key:uo(5),label:"Cohort 5"},{key:uo(6),label:"Cohort 6"},{key:uo(7),label:"Cohort 7"},{key:uo(8),label:"Cohort 8"}]}),data:[{[uo(0)]:"Week 1",[uo(1)]:"86%",[uo(2)]:"82%",[uo(3)]:"85%",[uo(4)]:"80%",[uo(5)]:"88%",[uo(6)]:"85%",[uo(7)]:"83%",[uo(8)]:"85%"},{[uo(0)]:"Week 2",[uo(1)]:"70%",[uo(2)]:"71%",[uo(3)]:"73%",[uo(4)]:"73%",[uo(5)]:"72%",[uo(6)]:"78%",[uo(7)]:"79%",[uo(8)]:"77%"},{[uo(0)]:"Week 3",[uo(1)]:"66%",[uo(2)]:"65%",[uo(3)]:"64%",[uo(4)]:"61%",[uo(5)]:"64%",[uo(6)]:"67%",[uo(7)]:"70%",[uo(8)]:"60%"},{[uo(0)]:"Week 4",[uo(1)]:"59%",[uo(2)]:"59%",[uo(3)]:"60%",[uo(4)]:"50%",[uo(5)]:"50%",[uo(6)]:"57%",[uo(7)]:"59%",[uo(8)]:"54%"},{[uo(0)]:"Week 5",[uo(1)]:"49%",[uo(2)]:"44%",[uo(3)]:"49%",[uo(4)]:"46%",[uo(5)]:"41%",[uo(6)]:"41%",[uo(7)]:"47%",[uo(8)]:"43%"},{[uo(0)]:"Week 6",[uo(1)]:"41%",[uo(2)]:"40%",[uo(3)]:"50%",[uo(4)]:"50%",[uo(5)]:"45%",[uo(6)]:"47%",[uo(7)]:"44%",[uo(8)]:"40%"},{[uo(0)]:"Week 7",[uo(1)]:"46%",[uo(2)]:"48%",[uo(3)]:"48%",[uo(4)]:"44%",[uo(5)]:"49%",[uo(6)]:"40%",[uo(7)]:"47%",[uo(8)]:"46%"},{[uo(0)]:"Week 8",[uo(1)]:"48%",[uo(2)]:"44%",[uo(3)]:"41%",[uo(4)]:"43%",[uo(5)]:"50%",[uo(6)]:"43%",[uo(7)]:"49%",[uo(8)]:"50%"}]},p6=Object.assign(Object.assign({},p1),{config:pF(),titleDocument:px({title:"Example table"})}),p8=[p1,pJ,p0,p2,pJ,pq,p$,pN,pK,pW,pU,p5,p3,p7,p9,p4,p6,pZ,pX,pQ,p_],he=(e,t)=>p8.some(n=>(0,b.A)({data:e,properties:t},{data:n.data,properties:n.datasetConfig.properties})),ht=(e,t)=>{var n,r;return hn(e,t)>(null!=(r=dF[null!=(n=t.type)?n:"line"])?r:1/0)},hn=(e,t)=>{var n,r,i,o;if(!t.type)return e.length;switch(t.type){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"line":case"areaStacked":case"combo":case"scatter":case"mekko":case"heatmap":case"bubble":case"funnel":case"waterfall":return e.length*(null!=(r=null==(n=t.yAxisProperties)?void 0:n.length)?r:1);case"pie":case"donut":default:return e.length;case"table":return e.length*(null!=(o=null==(i=t.columns)?void 0:i.length)?o:1)}},hr=e=>{let t=Object.entries(e);return!t.length||!t.some(e=>{let[t,n]=e;return!pm(n)&&"__graphyExternalId__"!==t})},hi=e=>!hr(e),ho=()=>"undefined"!=typeof navigator&&navigator.maxTouchPoints>0,hl=e=>"pie"!==e.type&&"donut"!==e.type&&"table"!==e.type,ha=e=>"pie"===e.type||"donut"===e.type,hs=e=>{var t,n,r;if(![...cJ,...cq].includes(e.type)||!1===hl(e)||1!==e.yAxisProperties.length)return!1;let i=null==(r=null==(n=null==(t=e.xAxisProperties)?void 0:t[0])?void 0:n.dataType)?void 0:r.type;return!!i&&!dS(i)&&!dL(i)},hu=[["day",[h4.Datetime]],["week",[h4.Date,h4.DayMonth]],["month",[h4.WeeklyDateRange,h4.WeeklyDateRangeWithYear]],["quarter",[h4.Month,h4.MonthYear]],["year",[h4.Quarter]]],hc=(e,t)=>{let n=hu.findIndex(t=>{let[n]=t;return n===e}),r=hu.findIndex(e=>{let[,n]=e;return n.includes(t)});if(-1===n)throw Error("Invalid time unit: ".concat(e));return -1!==r&&n>=r},hd=(e,t)=>{let{bottom:n,top:r,left:i,right:o}=e.getBoundingClientRect(),l=(t||document.body).getBoundingClientRect();return r>=l.top&&i>=l.left&&n<=l.bottom&&o<=l.right};function hp(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=2*e*Math.PI-Math.PI/2;return{x:n+t*Math.cos(i),y:r+t*Math.sin(i)}}let hh=e=>Math.round(10*e),hg=(e,t,n)=>{if(!n)return e;let r=t.map(e=>e[n]),i=!1,o=e.map(e=>{if(sq(e)){let t=((e,t)=>{if(void 0===e.rowValue||t[e.rowIndex]===e.rowValue)return e;let n=t.indexOf(e.rowValue);if(-1===n){let n=t[e.rowIndex];return void 0!==n?Object.assign(Object.assign({},e),{rowValue:n}):e}return Object.assign(Object.assign({},e),{rowIndex:n})})(e,r);if(t!==e)return i=!0,t}return e});return i?o:e},hf=(0,h.AH)(tE(),sj),hm=(0,h.i7)(tH()),hy=(0,h.AH)(tV(),s7("grey70"),hm),hx=(0,h.AH)(tF(),s7("grey70"),hm),hb=e=>Math.round(.8*e*10),hC=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return"".concat((.8*e).toFixed(1),"em")},hv=e=>{var t;let n=null!=(t=window.devicePixelRatio)?t:1;return Math.round(e*n)/n},hj=(e,t)=>{switch(t){case"day":return h4.Date;case"week":return h4.WeeklyDateRange;case"month":return dP(e)?h4.Month:h4.MonthYear;case"quarter":return h4.Quarter;case"year":return h4.Year}},hA=function(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=e.length-1;for(let o=i;o>r;o--){let r=e[o];if((null==(n=r.label)?void 0:n.trim())||t.some(e=>!pm(e[r.key])))break;i=o-1}return i===e.length-1?e:e.slice(0,i+1)},hw=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e.length-1;for(let r=n;r>t&&hr(e[r]);r--)n=r-1;return n===e.length-1?e:e.slice(0,n+1)},hk=(e,t,n)=>{var r;let i=null==(r=e[0])?void 0:r.key;t=hw(t);let o=i?Array.from({length:t.length+1},(n,r)=>{var o,l,a;return ul({label:0===r?null==(o=e[0])?void 0:o.label:null==(a=null==(l=t[r-1])?void 0:l[i])?void 0:a.toString()})}):[],l=Array.from({length:e.length-1},(n,r)=>Object.fromEntries(o.map((n,i)=>{var o,l,a,s,u;let c;if(0===i)c=null!=(l=null==(o=e[r+1])?void 0:o.label)?l:null;else{let n=null==(a=e[r+1])?void 0:a.key;c=n&&null!=(u=null==(s=t[i-1])?void 0:s[n])?u:null}return[n.key,c]}))),a=n.reduce((t,n)=>{var r;if(!sq(n))return t.push(n),t;let i=e.findIndex(e=>e.key===n.propertyKey)-1,l=null==(r=o[n.rowIndex+1])?void 0:r.key;return i>=0&&l&&t.push(Object.assign(Object.assign({},n),{propertyKey:l,rowIndex:i})),t},[]);return l=hw(l),{properties:o=hA(o,l),data:l,annotations:a}},hS=(0,h.AH)(tB()),hP=()=>{let{innerWidth:e}=window;return e{let t={isMobile:!1,isTablet:!1,isDesktop:!1,isLargeScreen:!1};switch(e){case"mobile":return Object.assign(Object.assign({},t),{isMobile:!0});case"tablet":return Object.assign(Object.assign({},t),{isTablet:!0});case"desktop":return Object.assign(Object.assign({},t),{isDesktop:!0});case"largeScreen":return Object.assign(Object.assign({},t),{isLargeScreen:!0})}},hM=()=>{let e=(0,O.useRef)(hP()),[t,n]=(0,O.useState)(()=>hL(e.current));return(0,O.useEffect)(()=>{let t=()=>{let t=hP();t!==e.current&&(e.current=t,n(hL(t)))};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),t},hO={textPrimary:s7("white"),textSecondary:s9(s7("textPrimary"),.8),textDisabled:s9(s7("textPrimary"),.5),border100:s7("grey0"),border10:s9(s7("grey0"),.1),brand:s7("purple50"),success:s7("green50"),warning:s7("amber50"),alert:s7("red50"),sunkenBackground:s7("grey100"),defaultBackground:s7("grey90"),raisedBackground:s7("grey80"),overlayBackground:s7("grey90"),overlayBorderGradient:s7("greyGradient80")},hT={gridLineColor:s7("border10"),hoverGuideLineColor:s7("grey0"),originLineColor:s7("grey0"),targetLineColor:s7("border100"),targetLineMarkerColor:s7("border100"),legendBackground:s7("defaultBackground"),legendBorderColor:s9(s7("grey0"),.1),legendTextColor:s7("textPrimary"),dimmedSeriesLabelTextColor:s7("textDisabled"),dimmedSeriesLabelLineColor:s7("grey60"),trendNegativeColor:s7("red60"),trendPositiveColor:s7("green60"),tooltipBackground:s7("grey70"),tooltipBorderColor:s7("grey60"),tooltipHeadingTextColor:s7("textPrimary"),tooltipLabelTextColor:s7("textSecondary"),tooltipValueTextColor:s7("textPrimary"),graphTypeIconAccentColor:s7("purple30"),heatmapEmptyTileBackground:s7("grey80"),stackedBarHoverBorderColor:s7("grey0"),defaultArrowAnnotationColor:s7("white"),annotationFrameBorderColor:s7("blue60"),annotationMenuTriggerIconColor:s7("white")},hD={id:"dark",colorScheme:"dark",values:Object.assign(Object.assign(Object.assign(Object.assign({},{transparent:"transparent",white:"#ffffff",black:"#000000",grey100:"#000000",grey95:"#0D0D0D",grey90:"#1A1A1A",grey85:"#1F1F1F",grey80:"#2A2A2A",grey75:"#2e2e2e",grey70:"#353535",grey60:"#494949",grey50:"#6F6F6F",grey0:"#ffffff",red60:"#CB3333",red50:"#F93939",amber70:"#f48135",amber50:"#FEAE47",amber40:"#FFC849",amber30:"#ffd061",green60:"#0AC600",green50:"#42CD69",blue80:"#2E62FF",blue60:"#3D70FF",purple50:"#7B56EA",purple30:"#E093FE"}),{greyGradient80:"linear-gradient(to top, #222429, #31353f)"}),hO),hT),canvasColors:[{id:"default",label:"White",value:"#FFFFFF"},{id:"blue",label:"Blue",value:"#60a5fa"},{id:"cyan",label:"Cyan",value:"#22d3ee"},{id:"green",label:"Green",value:"#34d399"},{id:"yellow",label:"Yellow",value:"#FFC800"},{id:"orange",label:"Orange",value:"#fb923c"},{id:"red",label:"Red",value:"#f87171"},{id:"pink",label:"Pink",value:"#F979D9"},{id:"purple",label:"Purple",value:"#a78bfa"},{id:"gray",label:"Gray",value:"#a8a29e"},{id:"inverse",label:"Black",value:"#000000"}]},hI={textPrimary:s7("black"),textSecondary:s9(s7("textPrimary"),.6),textDisabled:s9(s7("textPrimary"),.5),brand:s7("purple50"),success:s7("green50"),warning:s7("amber50"),alert:s7("red50"),border100:s7("grey0"),border10:s9(s7("grey0"),.1),sunkenBackground:s7("grey90"),defaultBackground:s7("grey100"),raisedBackground:s7("grey85"),overlayBackground:s7("grey100"),overlayBorderGradient:"none"},hE={gridLineColor:s7("border10"),hoverGuideLineColor:s7("grey0"),originLineColor:s7("grey0"),targetLineColor:s7("border100"),targetLineMarkerColor:"#A0A6C5",legendBackground:s7("defaultBackground"),legendBorderColor:s7("border10"),legendTextColor:s7("textPrimary"),dimmedSeriesLabelTextColor:s7("textDisabled"),dimmedSeriesLabelLineColor:s7("grey60"),trendNegativeColor:s7("red60"),trendPositiveColor:s7("green60"),tooltipBackground:"#333",tooltipBorderColor:"#47474B",tooltipHeadingTextColor:"#fff",tooltipLabelTextColor:"#d5d6d9",tooltipValueTextColor:"#fff",graphTypeIconAccentColor:s7("amber70"),heatmapEmptyTileBackground:s7("grey80"),stackedBarHoverBorderColor:s7("grey0"),defaultArrowAnnotationColor:s7("black"),annotationFrameBorderColor:s7("blue60"),annotationMenuTriggerIconColor:"#3d414c"},hH={id:"light",colorScheme:"light",values:Object.assign(Object.assign(Object.assign(Object.assign({},{transparent:"transparent",white:"#ffffff",black:"#000000",grey100:"#FFFFFF",grey95:"#FCFCFC",grey90:"#FAFAFA",grey85:"#F5F5F5",grey80:"#F0F0F0",grey75:"#e8e8e8",grey70:"#E5E5E5",grey60:"#CCCCCC",grey50:"#C4C4C4",grey0:"#1D2129",red60:"#E14B49",red50:"#F93939",amber70:"#FFBA8C",amber50:"#FFC849",amber40:"#FEAE47",amber30:"#e7a816",green60:"#06B299",green50:"#42CD69",blue80:"#2E62FF",blue60:"#3D70FF",purple50:"#7B56EA",purple30:"#E093FE"}),{greyGradient80:"linear-gradient(to top, #F0F0F1, #F9F9FF)"}),hI),hE),canvasColors:[{id:"default",label:"Black",value:"#000000"},{id:"blue",label:"Blue",value:"#3b82f6"},{id:"cyan",label:"Cyan",value:"#06b6d4"},{id:"green",label:"Green",value:"#10b981"},{id:"yellow",label:"Yellow",value:"#E5B400"},{id:"orange",label:"Orange",value:"#f97316"},{id:"red",label:"Red",value:"#ef4444"},{id:"pink",label:"Pink",value:"#E845BF"},{id:"purple",label:"Purple",value:"#8b5cf6"},{id:"gray",label:"Gray",value:"#78716c"},{id:"inverse",label:"White",value:"#ffffff"}]},hV={TINT:{light:.1,dark:.1},GRADIENT:{light:.1,dark:.1}},hF=(e,t)=>{let n=hV.TINT[t],r="dark"===t?(0,F.e$)(e,n):(0,F.a)(e,n);return(0,F.nj)(r).toUpperCase()},hB=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:90,r=hV.GRADIENT[t],i="dark"===t?(0,F.e$)(e,r):(0,F.a)(e,r);return{original:e,from:(0,F.nj)(e).toUpperCase(),to:(0,F.nj)(i).toUpperCase(),gradient:"linear-gradient(".concat(n,"deg, ").concat(e," 0%, ").concat(i," 100%)")}},hR={red:"#E83562",orange:"#F38650",yellow:"#FBBC30",green:"#31FCB4",cyan:"#40F8FF",blue:"#279EFF",purple:"#B399FD",dark_purple:"#6D48D2",plum:"#C82184",pink:"#FC8497"},hz={green:"#B2DDC9",cyan:"#A2D5E2",blue:"#AAC4FF",purple:"#B2A4FF",plum:"#DCA8C7",pink:"#FFCCD3",red:"#FFADAD",orange:"#FFDEB4",yellow:"#FDF7C3"},hY={grey900:"#1c1917",grey800:"#292524",grey700:"#44403c",grey600:"#57534e",grey500:"#78716c",grey400:"#a8a29e",grey300:"#d6d3d1",grey200:"#e7e5e4",grey100:"#f5f5f4",grey50:"#fafaf9",red900:"#7f1d1d",red800:"#991b1b",red700:"#b91c1c",red600:"#dc2626",red500:"#ef4444",red400:"#f87171",red300:"#fca5a5",red200:"#fecaca",red100:"#fee2e2",red50:"#fef2f2",orange900:"#7c2d12",orange800:"#9a3412",orange700:"#c2410c",orange600:"#ea580c",orange500:"#f97316",orange400:"#fb923c",orange300:"#fdba74",orange200:"#fed7aa",orange100:"#ffedd5",orange50:"#fff7ed",yellow900:"#553B0C",yellow800:"#6F4B08",yellow700:"#8D6300",yellow600:"#BD8A00",yellow500:"#E5B400",yellow400:"#FFC800",yellow300:"#FBDA2B",yellow200:"#FEED72",yellow100:"#FEF8B4",yellow50:"#FEFCE2",green900:"#064e3b",green800:"#065f46",green700:"#047857",green600:"#059669",green500:"#10b981",green400:"#34d399",green300:"#6ee7b7",green200:"#a7f3d0",green100:"#d1fae5",green50:"#ecfdf5",cyan900:"#164e63",cyan800:"#155e75",cyan700:"#0e7490",cyan600:"#0891B2",cyan500:"#06b6d4",cyan400:"#22d3ee",cyan300:"#67e8f9",cyan200:"#a5f3fc",cyan100:"#cffafe",cyan50:"#ecfeff",blue900:"#1e3a8a",blue800:"#1e40af",blue700:"#1d4ed8",blue600:"#2563eb",blue500:"#3b82f6",blue400:"#60a5fa",blue300:"#93c5fd",blue200:"#bfdbfe",blue100:"#dbeafe",blue50:"#eff6ff",purple900:"#4c1d95",purple800:"#5b21b6",purple700:"#6d28d9",purple600:"#7c3aed",purple500:"#8b5cf6",purple400:"#a78bfa",purple300:"#c4b5fd",purple200:"#ddd6fe",purple100:"#ede9fe",purple50:"#f5f3ff",pink900:"#751A5E",pink800:"#8F1972",pink700:"#AF1C8A",pink600:"#D326A8",pink500:"#E845BF",pink400:"#F979D9",pink300:"#FCABE8",pink200:"#FED0F3",pink100:"#FFE8F9",pink50:"#FFF4FC"},hG={cyan:"#22D3EE",pink:"#F377EF",purple:"#6528F7",red:"#FB2576",orange:"#FF9300",yellow:"#FBFF00",green:"#06FF00",blue:"#0079FF"},hW=[hR.purple,hR.pink,hR.yellow,hR.blue,hR.red,hR.cyan,hR.orange,hR.plum,hR.green,hR.dark_purple],hU=[hz.green,hz.purple,hz.red,hz.cyan,hz.pink,hz.blue,hz.orange,hz.plum,hz.yellow],hN=[hG.cyan,hG.pink,hG.purple,hG.red,hG.orange,hG.yellow,hG.green,hG.blue],hK=["#84D1FC","#84FC89","#FC8497","#84D1FC"],hZ=[hY.grey200,hz.green,hz.red,hY.grey200],hX=[hG.cyan,hG.green,hG.red,hG.cyan],h_=hR.purple,hQ=["series1","series2","series3","series4","series5","series6","series7","series8","series9","series10","series11","series12","series13","series14","series15","series16","series17","series18","series19","series20"],hJ=["waterfallStart","waterfallPositive","waterfallNegative","waterfallTotal"],hq=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n="waterfall"===t?hJ:hQ,r=n.map(t=>{var n;return null==(n=e[t])?void 0:n.color}).filter(e=>!!e);return 0===r.length?"waterfall"===t?hK:hW:n.map((e,t)=>r[t%r.length])},h$=e=>e.startsWith("waterfall")?hK[Math.max(hJ.findIndex(t=>t===e),0)]:hW[Math.max(hQ.findIndex(t=>t===e),0)],h1=e=>{let t=uK.safeParse(e.borderColor);return t.success?t.data:h_},h0=e=>{switch(e){case"waterfallStart":return"Start";case"waterfallPositive":return"Positive";case"waterfallNegative":return"Negative";case"waterfallTotal":return"Total";default:return e}},h2={lilac:{backgroundImage:"linear-gradient(94deg, #C9C0F7 -2.94%, #F6E6FD 92.51%)"},neon_pink:{backgroundImage:"linear-gradient(93deg, #E04A95 2.61%, #FD7F92 97.51%)"},blackberry:{backgroundImage:"linear-gradient(132deg, #9F9FED 2.98%, #B9E6FF 97.65%)"},sun:{backgroundImage:"linear-gradient(139deg, #FCDB61 5.51%, #FB9C65 97.21%)"},iceland:{backgroundImage:"linear-gradient(94deg, #29CDA8 -2.94%, #52C9D2 92.51%)"},sunset:{backgroundImage:"linear-gradient(138deg, #FCDB62 5.77%, #FD8091 99.91%)"},ultraviolet:{backgroundImage:"linear-gradient(132deg, #D167D8 2.98%, #6584E6 97.65%)"},purple:{backgroundImage:"linear-gradient(203.63deg, #BBADFD 15.22%, #BE9AF0 81.52%)"},ice_cream:{backgroundImage:"linear-gradient(119.34deg, #FC7E91 3.68%, #FCD1B1 116.76%)"},mint:{backgroundImage:"linear-gradient(93.55deg, #25CDA5 -6.07%, #58C8D8 113.6%)"},cool:{backgroundImage:"linear-gradient(93.55deg, #3F8EEB -6.07%, #58C8D8 113.6%)"},fresh:{backgroundImage:"linear-gradient(114.37deg, #A4A4EE 4.32%, #58C8D8 87.71%)"}},h5=e=>{var t;let{colorScheme:n="dark",borderType:r,borderColor:i,theme:o,seriesConfig:l}=e;if(r===cL.enum.grey)return{backgroundColor:"dark"===n?hD.values.grey70:hH.values.grey70};if(!i)return null;if(i.startsWith("#")){if(r===cL.enum.solid)return{backgroundColor:hF(i,n)};if(r===cL.enum.custom)return{backgroundColor:i}}if(r===cL.enum.preset&&Object.keys(h2).includes(i))return h2[i];if(r===cL.enum.gradient&&i.startsWith("#")){let{gradient:e}=hB(i,n);return{backgroundImage:e}}if(l&&i in l){let e=null==(t=l[i])?void 0:t.color;if(e)return{backgroundColor:e}}if(!i.startsWith("#")){if(Object.keys(h2).includes(i))return h2[i];if("graphy"===o&&Object.keys(hR).includes(i)||"mono"===o&&Object.keys(hR).includes(i))return{backgroundColor:hR[i]};if("pastel"===o&&Object.keys(hz).includes(i))return{backgroundColor:hz[i]}}return{backgroundColor:h_}};var h3,h7,h9,h4,h6,h8,ge,gt={exports:{}},gn={},gr=(r||(r=1,ge||(ge=1,function(e){function t(e,t){var n=e.length;for(e.push(t);0>>1,o=e[r];if(!(0>>1;ri(s,n))ui(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[a]=n,r=a);else{if(!(ui(c,n)))break;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,d=null,p=3,h=!1,g=!1,f=!1,m="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var i=n(u);null!==i;){if(null===i.callback)r(u);else{if(!(i.startTime<=e))break;r(u),i.sortIndex=i.expirationTime,t(s,i)}i=n(u)}}function C(e){if(f=!1,b(e),!g)if(null!==n(s))g=!0,D(v);else{var t=n(u);null!==t&&I(C,t.startTime-e)}}function v(t,i){g=!1,f&&(f=!1,y(k),k=-1),h=!0;var o=p;try{for(b(i),d=n(s);null!==d&&(!(d.expirationTime>i)||t&&!L());){var l=d.callback;if("function"==typeof l){d.callback=null,p=d.priorityLevel;var a=l(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof a?d.callback=a:d===n(s)&&r(s),b(i)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var m=n(u);null!==m&&I(C,m.startTime-i),c=!1}return c}finally{d=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var j,A=!1,w=null,k=-1,S=5,P=-1;function L(){return!(e.unstable_now()-Pe||125l?(r.sortIndex=o,t(u,r),null===n(s)&&r===n(u)&&(f?(y(k),k=-1):f=!0,I(C,o-l))):(r.sortIndex=a,t(s,r),g||h||(g=!0,D(v))),r},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(gn)),gt.exports=gn),gt.exports);let gi=Symbol(),go=Symbol(),gl=/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?O.useEffect:O.useLayoutEffect,ga=gr.unstable_runWithPriority?e=>{try{gr.unstable_runWithPriority(gr.unstable_NormalPriority,e)}catch(t){if("Not implemented."!==t.message)throw t;e()}}:e=>e(),gs=e=>e;function gu(e){var t;let n=(0,O.createContext)({[gi]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});return n[go]=n.Provider,t=n.Provider,n.Provider=e=>{let{value:n,children:r}=e,i=(0,O.useRef)(n),o=(0,O.useRef)(0),[l,a]=(0,O.useState)(null);l&&(l(n),a(null));let s=(0,O.useRef)();if(!s.current){let e=new Set;s.current={[gi]:{v:i,n:o,l:e,u:(t,n)=>{o.current+=1;let r={n:o.current};(null==n?void 0:n.suspense)&&(r.n*=-1,r.p=new Promise(e=>{a(()=>t=>{r.v=t,delete r.p,e(t)})})),e.forEach(e=>e(r)),t()}}}}return gl(()=>{i.current=n,o.current+=1,ga(()=>{s.current[gi].l.forEach(e=>{e({n:o.current,v:n})})})},[n]),(0,O.createElement)(t,{value:s.current},r)},delete n.Consumer,n}function gc(e,t){let{v:{current:n},n:{current:r},l:i}=(0,O.useContext)(e)[gi],o=t(n),[l,a]=(0,O.useReducer)((e,i)=>{if(!i)return[n,o];if("p"in i)throw i.p;if(i.n===r)return Object.is(e[1],o)?e:[n,o];try{if("v"in i){if(Object.is(e[0],i.v))return e;let n=t(i.v);return Object.is(e[1],n)?e:[i.v,n]}}catch(e){}return[...e]},[n,o]);return Object.is(l[1],o)||a(),gl(()=>(i.add(a),()=>{i.delete(a)}),[i]),l[1]}let gd=gu(null),gp=()=>gc(gd,gs),gh=e=>gc(gd,t=>{if(!t)throw Error("useGraphState must be used within a GraphProvider");return e(t)}),gg=e=>gc(gd,t=>{if(t)return e(t)}),gf=()=>{let e=gh(e=>e.appearance),t=gh(e=>e.theme.colorScheme);return h5(Object.assign(Object.assign({},e),{colorScheme:t}))},gm=e=>{let t=(0,O.useRef)(e);return(0,O.useEffect)(()=>{t.current=e},[e]),t},gy=e=>{let t=gm(e);(0,O.useEffect)(()=>()=>{t.current()},[t])},gx=(e,t)=>{let n=gm(e),r=(0,O.useRef)(null),i=(0,O.useCallback)(function(){for(var e=arguments.length,i=Array(e),o=0;o{n.current(...i)},t)):(n.current(...i),r.current=setTimeout(()=>{},t))},[t,n]);return(0,O.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),i},gb=e=>{let{onDrag:t,onDragStart:n,onDragEnd:r,blockPagePointerEvents:i,preventDefault:o=!0,dragThreshold:l=5,onPointerDown:a}=e,s=(0,O.useRef)(null),u=(0,O.useRef)();return{dragProps:{onPointerDown:e=>{null==a||a(e),o&&(e.preventDefault(),e.stopPropagation());let c=!1,d=()=>{c=!0,i&&(s.current=(()=>{let e=document.createElement("div");return e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.zIndex="9999",e.style.cursor="grabbing",e})(),document.body.appendChild(s.current)),null==n||n()};0===l&&d();let p=e.clientX,h=e.clientY,g=e=>{o&&(e.preventDefault(),e.stopPropagation());let n=e.clientX-p,r=e.clientY-h;!c&&(Math.abs(n)>l||Math.abs(r)>l)&&d(),c&&(null==t||t({deltaX:n,deltaY:r}))},f=()=>{s.current&&(document.body.removeChild(s.current),s.current=null),window.removeEventListener("pointermove",g),window.removeEventListener("pointerup",m)},m=e=>{let t=e.clientX-p,n=e.clientY-h;null==r||r({deltaX:t,deltaY:n}),f()};window.addEventListener("pointermove",g),window.addEventListener("pointerup",m),u.current=()=>{f(),u.current=void 0}}},cleanup:()=>{var e;return null==(e=u.current)?void 0:e.call(u)}}};function gC(){let{onFocus:e,onBlur:t,shouldEncapsulate:n=!0,tabIndex:r=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[i,o]=(0,O.useState)(!1);return{hasFocus:i,focusBindings:(0,O.useMemo)(()=>({tabIndex:r,onFocus:t=>{let r=t.relatedTarget||document.activeElement,i=t.currentTarget!==r&&t.currentTarget.contains(r);n&&r&&i||(o(!0),null==e||e(t))},onBlur:e=>{let r=e.relatedTarget||document.activeElement;n&&r&&e.currentTarget.contains(r)||(o(!1),null==t||t(e))}}),[e,t,r,n]),resetState:(0,O.useCallback)(()=>{o(!1)},[])}}let gv=()=>{},gj=e=>e,gA=e=>{let{value:t,onChange:n=gv,changeDebounceWait:r=500,transform:i=gj,onFocus:o,onBlur:l,onKeyPress:a,onEnterKeyPress:s}=e,u=(0,O.useMemo)(()=>(0,C.A)(n,r),[r,n]),{hasFocus:c,focusBindings:d}=gC({onFocus:o,onBlur:(0,O.useCallback)(e=>{u.cancel();let r=e.target.value;r!==t&&(null==n||n(r)),null==l||l(e)},[u,l,n,t]),shouldEncapsulate:!1}),[p,h]=(0,O.useState)(t);return(0,O.useEffect)(()=>{c||h(t)},[t]),{draftValue:p,handleChange:(0,O.useCallback)(e=>{let n=i(gw(e));h(n),n!==t&&u(n)},[u,i,t]),handleKeyPress:(0,O.useCallback)(e=>{"Enter"===e.key&&(null==s||s(),e.preventDefault()),null==a||a(e)},[s,a]),focusBindings:d}},gw=e=>{var t;return e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement?e.target.value:null!=(t=e.target.textContent)?t:""},gk=(e,t,n)=>[t,e,n].join("-"),gS=e=>{let t=(0,O.useId)();return(0,O.useMemo)(()=>({id:(e,n)=>gk(n,t,e),fill:n=>((e,t,n)=>n?"url(#".concat(gk(e,t,n),")"):"currentColor")(n,t,e)}),[t,e])};function gP(){let{alwaysTrueForTouchDevices:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isMobile:t,isTablet:n}=hM(),[r,i]=(0,O.useState)(!1),o=ho();return{hasMouseOver:e&&o&&(t||n)||r,mouseOverTargetProps:(0,O.useMemo)(()=>({onPointerEnter:()=>{i(!0)},onPointerLeave:()=>{i(!1)}}),[])}}let gL=()=>window.location.search.includes("forceEmbed=true")||window!==window.parent,gM=()=>{let[e,t]=(0,O.useState)(!0);return(0,O.useEffect)(()=>{t(gL)},[]),e||!1},gO=["line","areaStacked"],gT=()=>{let e=gh(e=>e.computedConfig.type);return gO.includes(e)};function gD(e){let t=O.useRef(void 0),n=O.useCallback(t=>{let n=e.map(e=>{if(null!=e){if("function"==typeof e){let n=e(t);return"function"==typeof n?n:()=>{e(null)}}return e.current=t,()=>{e.current=null}}});return()=>{n.forEach(e=>null==e?void 0:e())}},e);return O.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}let gI=(e,t)=>{let n=(0,O.useCallback)(n=>{e&&!e.contains(n.target)&&t(n)},[e,t]);(0,O.useEffect)(()=>(document.addEventListener("click",n,{capture:!0}),()=>{document.removeEventListener("click",n,{capture:!0})}),[n])};function gE(e){let t=(0,O.useRef)(null);return(0,O.useEffect)(()=>{t.current=e},[e]),t.current}let gH={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,isDefault:!0},gV=function(){let{debounce:e,onResize:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[n,r]=(0,O.useReducer)((e,t)=>e.width===t.width&&e.height===t.height?e:t,gH),i=(0,O.useRef)(null),o=(0,O.useRef)(t);o.current=t;let l=(0,O.useRef)((0,C.A)(e=>{var t;null==(t=o.current)||t.call(o,e),r(e)},e||0)).current,a=(0,O.useCallback)(e=>{l(e)},[l]),s=(0,O.useRef)(new ResizeObserver(e=>{var t,n,r,i;let[o]=e;if(!o)return;let{contentBoxSize:l,contentRect:s}=o,u=Math.round(null!=(n=null==(t=null==l?void 0:l[0])?void 0:t.inlineSize)?n:s.width),c=Math.round(null!=(i=null==(r=null==l?void 0:l[0])?void 0:r.blockSize)?i:s.height);a(Object.assign(Object.assign({},s.toJSON()),{width:u,height:c,isDefault:!1}))})),u=(0,O.useCallback)(e=>{e&&i.current!==e&&(i.current&&s.current.unobserve(i.current),i.current=e,e&&s.current.observe(e))},[]);return Object.assign(Object.assign({},n),{setElement:u,element:i.current,toJSON:()=>n})},gF=/^\d+$/,gB=/^\s*true|1\s*$/i,gR=/^\s*false|0\s*$/i,gz=e=>String(e),gY=e=>{if("number"==typeof e&&Number.isNaN(e))return 0;let t=Number.parseFloat("string"==typeof e?e:e.toString());if(Number.isNaN(t))throw Error("Value `".concat(e,"` cannot be cast to number."));return t},gG=e=>{if("boolean"==typeof e)throw Error("Boolean value `".concat(e,"` cannot be cast to date."));let t=new Date(e);if("string"==typeof e&&e.match(gF)){let n=Number.parseFloat(e);Number.isNaN(n)||(t=new Date(n))}if("Invalid Date"===t.toString())throw Error("Value `".concat(e,"` cannot be cast to date."));return t},gW=e=>{if(e instanceof Date)throw Error("Date value `".concat(e.toISOString(),"` cannot be cast to boolean."));if("string"==typeof e){if(e.match(gB))return!0;if(e.match(gR))return!1;throw Error("String value '".concat(e,"' cannot be cast to boolean."))}return!!e},gU=e=>{let{value:t}=e;return null===t?sX:gW(t)?"True":"False"},gN=e=>{let{value:t}=e;return null===t?sX:gU({value:t})},gK=gN,gZ=e=>Math.abs(e)>1e3?gZ(e/1e3):Number.isInteger(e),gX=(e,t,n)=>"number"!=typeof e?{}:gZ(e)?{minimumFractionDigits:0,maximumFractionDigits:0}:((e,t)=>{if(!dL(t)||e.length<2)return!1;let[n,r]=e;return 1>Math.abs(gY(null!=r?r:0)-gY(null!=n?n:0))})(n,t)?{minimumFractionDigits:0,maximumFractionDigits:4}:{minimumFractionDigits:0,maximumFractionDigits:1},g_=e=>e.map(e=>e.value).join(""),gQ=e=>"compact"!==e.type?e:{type:"compact",value:e.value.toLowerCase()},gJ=e=>{let{intl:t,value:n,tickValues:r=[]}=e;if(null===n)return sX;let i=gX(n,h4.Decimal,r);return g_(t.formatNumberToParts(gY(n),Object.assign(Object.assign({},i),{notation:"compact"})).map(gQ))},gq=e=>{let{intl:t,value:n,tickValues:r=[],currency:i}=e;if(!i)return gJ({intl:t,value:n,tickValues:r});if(null===n)return sX;let o=gX(n,h4.Currency,r);return g_(t.formatNumberToParts(gY(n),Object.assign(Object.assign({},o),{notation:"compact",style:"currency",currencyDisplay:"narrowSymbol",currency:i})).map(gQ))},g$=e=>{let{value:t,decimalPlaces:n}=e;if("number"==typeof n)return{minimumFractionDigits:n,maximumFractionDigits:n};let r=Math.ceil(Math.log10(Math.abs(t))),i=r>=3?0:2===r?1:2;return{minimumFractionDigits:"auto"===n?0:i,maximumFractionDigits:i}},g1=e=>{let{intl:t,value:n,currency:r,numberFormat:i}=e;if(null===n)return sX;let o=gY(n),l=g$({decimalPlaces:"number"==typeof(null==i?void 0:i.decimalPlaces)?i.decimalPlaces:2,value:o});if(!r)return t.formatNumber(o,l);let{base:a,suffix:s}=s5(o,null==i?void 0:i.abbreviation);return t.formatNumber(a,Object.assign(Object.assign({},l),{style:"currency",currencyDisplay:"narrowSymbol",currency:r}))+s},g0=e=>"literal"!==e.type||", "!==e.value?e:{type:"literal",value:" • "},g2=e=>{let{intl:t,value:n}=e;return null===n?sX:g_(t.formatDateToParts(gG(n),{dateStyle:"medium",timeStyle:"medium",timeZone:"UTC"}).map(g0))},g5=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{dateStyle:"medium",timeZone:"UTC"})},g3=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{day:"numeric",month:"long",timeZone:"UTC"})},g7=e=>{let{intl:t,value:n,intlOptions:r,numberFormat:i}=e;if(null===n)return sX;let{base:o,suffix:l}=s5(gY(n),null==i?void 0:i.abbreviation),a=g$({value:o,decimalPlaces:null==i?void 0:i.decimalPlaces});return t.formatNumber(o,Object.assign(Object.assign({},r),a))+l};!function(e){e.Standard="standard",e.Compact="compact"}(i||(i={}));let g9={round:!0,units:["y","mo","d","h","m","s"]},g4=B.humanizer({language:"en",conjunction:" and ",serialComma:!1}),g6=B.humanizer({language:"en",spacer:"",delimiter:" ",languages:{en:{y:()=>"y",mo:()=>"mo",w:()=>"w",d:()=>"d",h:()=>"h",m:()=>"m",s:()=>"s",ms:()=>"ms"}}}),g8=e=>{let{value:t,notation:n=i.Standard}=e;if(null===t)return sX;let r=gY(t);return n===i.Compact?g6(r,g9):g4(r,g9)},fe=e=>{let{value:t}=e;return null===t?sX:g8({value:t,notation:i.Compact})},ft=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatNumber(gY(n),{maximumFractionDigits:0})},fn=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{month:"long",timeZone:"UTC"})},fr=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{month:"short",year:"numeric",timeZone:"UTC"})},fi=e=>{let{intl:t,value:n,intlOptions:r,numberFormat:i}=e;if(null===n)return sX;let o=gY(n),l=void 0===(null==i?void 0:i.decimalPlaces)?{minimumFractionDigits:0,maximumFractionDigits:2}:g$({value:o,decimalPlaces:null==i?void 0:i.decimalPlaces});return t.formatNumber(o,Object.assign(Object.assign(Object.assign({},r),l),{style:"percent"}))},fo=e=>{let{value:t}=e;if(null===t)return sX;let n=gG(t);return"Q".concat(Math.floor(n.getUTCMonth()/3)+1," ").concat(n.getUTCFullYear())},fl=e=>{let{value:t}=e;return null===t?sX:gz(t)},fa=e=>{let{intl:t,value:n}=e;if(null===n)return sX;let r=gG(n),i=(0,R.f)(r,6);return t.formatDateTimeRange(r,i,{day:"numeric",month:"long",timeZone:"UTC"}).replace(/\d{4}/g,"").replace(/\s{2,}/g," ").trim()},fs=e=>{let{intl:t,value:n}=e;if(null===n)return sX;let r=gG(n),i=(0,R.f)(r,6);return t.formatDateTimeRange(r,i,{dateStyle:"medium",timeZone:"UTC"})},fu=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{year:"numeric",timeZone:"UTC"})},fc=e=>{let{intl:t,value:n,cadence:r={cadence:"daily",step:1}}=e;if(null===n)return sX;switch(r.cadence){case"hourly":return t.formatDate(gG(n),{timeStyle:"short",timeZone:"UTC"});case"daily":case"weekly":return t.formatDate(gG(n),{day:"numeric",month:"short",timeZone:"UTC"});case"monthly":return t.formatDate(gG(n),{month:"short",year:"numeric",timeZone:"UTC"});case"quarterly":return fo({value:n});case"yearly":return t.formatDate(gG(n),{year:"numeric",timeZone:"UTC"})}},fd=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{day:"numeric",month:"short",timeZone:"UTC"})},fp=fe,fh=gJ,fg=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{month:"short",timeZone:"UTC"})},ff=e=>{let{intl:t,value:n,tickValues:r=[]}=e;if(null===n)return sX;let i=gX(n,h4.Percentage,r);return g_(t.formatNumberToParts(gY(n),Object.assign(Object.assign({},i),{notation:"compact",style:"percent"})).map(gQ))},fm=fl,fy=e=>{let{intl:t,value:n}=e;return null===n?sX:t.formatDate(gG(n),{day:"numeric",month:"long",year:"numeric",weekday:"long",timeZone:"UTC"})},fx=e=>{let{intl:t,value:n}=e;if(null===n)return sX;let r=gG(n),i=0!==r.getUTCSeconds();return t.formatDate(r,{day:"2-digit",month:"short",year:"numeric",weekday:"short",hour:"2-digit",minute:"2-digit",second:i?"2-digit":void 0,timeZone:"UTC"})},fb=e=>{let{intl:t,differenceLabelType:n,startValue:r,endValue:i}=e;if(null===r||null===i||void 0===r||void 0===i)return"n/a";let o=gY(r),l=gY(i);switch(n){case"absolute-difference":return g7({intl:t,value:l-o,intlOptions:{signDisplay:"always"}});case"relative-difference":{let e=(l-o)/o;return l-o==0?"0%":e===1/0?"∞":e===-1/0?"-∞":fi({intl:t,value:e,intlOptions:{signDisplay:"always"}})}case"proportion":{if(l-o==0)return"=";let e=l/o;return e===1/0?"∞":e===-1/0?"-∞":"".concat(t.formatNumber(e,{maximumFractionDigits:1}),"x")}}},fC=()=>(0,z.E)({locale:"en-GB"}),fv=e=>{let{intl:t,primaryValue:n,comparisonValue:r}=e;if(void 0===n||void 0===r)return null;if(null===n||null===r)return{label:"No data",appearance:"neutral"};let i=gY(n),o=gY(r);if(0===o)return null;let l=(i-o)/Math.abs(o);if(0===l)return{label:"No change",appearance:"neutral"};let a=i>o;return{label:"".concat(a?"+":"-").concat(fi({intl:t,value:Math.abs(l)})),appearance:a?"positive":"negative"}},fj="EN_GB",fA={type:"spring",stiffness:500,damping:60,mass:1},fw={type:"tween",ease:"backOut",duration:.5},fk={type:"tween",ease:"circOut",duration:.4},{toolbar:fS,below:fP,above:fL,modal:fM}=sA,fO=fP+fS,fT=fP+fO,fD=fP+fT,fI=fP+fD,fE=fP+fI,fH=fP+fE,fV={dataLabels:fP+fH,stackTotals:fH,trendLines:fP+fE,targetLines:fE,pointAnnotations:fD,annotations:fI,annotationsMenu:fT,highlightEditor:fO,tooltips:fL+fM,focusGuard:999},fF=(0,O.createContext)(dz),fB=()=>(0,O.useContext)(fF),fR=e=>{let{children:t,value:n}=e;return(0,g.jsx)(fF.Provider,n?{value:n,children:t}:{value:dz,children:t})},fz=gu(null),fY=e=>gc(fz,t=>{if(!t)throw Error("useChartLayoutValue requires ChartLayoutContext");return t[e]}),fG=h.I4.div(tR(),e=>{var t;let{$theme:n}=e;return null!=(t=n.colorScheme)?t:"auto"},e=>{let{$theme:t}=e;return ut(t)},s7("textPrimary")),fW=(0,O.createContext)(null),fU=()=>(0,O.useContext)(fW),fN=ua(fW,"ThemeProvider"),fK=e=>{let{children:t,theme:n}=e;return(0,g.jsx)(h.NP,{theme:n,children:(0,g.jsx)(fW.Provider,{value:n,children:(0,g.jsx)(fG,{$theme:n,"data-graphy-theme":n.id,children:t})})})},fZ=e=>{let{children:t}=e,n=fN();return(0,g.jsx)(fG,{$theme:n,"data-graphy-theme":n.id,children:t})},fX=h.I4.div(tY(),e=>{let{$resetFontSize:t}=e;if(t)return(0,h.AH)(tz(),hf)},e=>{let{$zIndex:t}=e;return null!=t?t:"auto"},e=>{let{$zIndex:t}=e;return t?"relative":"static"},e=>{let{$zIndex:t}=e;return t?"block":"contents"}),f_=e=>{var t;let{children:n,zIndex:r,id:i,elementId:o="graphy_root",resetFontSize:l=!0}=e,[,a]=(0,O.useState)(!1);(0,O.useLayoutEffect)(()=>{a(!0)},[]);let s=null!=(t=document.getElementById(o))?t:document.body;return(0,W.createPortal)((0,g.jsx)(fZ,{children:(0,g.jsx)(fX,{id:i,$zIndex:r,$resetFontSize:l,children:n})}),s)},fQ=h.I4.div(tG(),hf,s7("textSecondary")),fJ=h.I4.div(tW(),fV.tooltips),fq=h.I4.div(tU()),f$=h.I4.div(tN(),s7("tooltipBackground"),s7("tooltipBorderColor")),f1=h.I4.div(tK(),se,hS,s7("tooltipHeadingTextColor")),f0=h.I4.div(tZ()),f2=h.I4.div(tX(),st,s7("tooltipLabelTextColor")),f5=h.I4.div(t_(),e=>{let{$placement:t}=e;return f3(t)},s7("tooltipBorderColor")),f3=e=>{switch(e){case"top":return(0,h.AH)(tQ());case"right":return(0,h.AH)(tJ());case"bottom":return(0,h.AH)(tq());case"left":return(0,h.AH)(t$())}},f7=O.forwardRef(function(e,t){var{children:n}=e,r=sk(e,["children"]);let i=fY("textScale"),o=fY("font"),l=fB().find(e=>o.body.fontId===e.id);return(0,g.jsx)(f_,{zIndex:fV.tooltips,id:"tooltipAddon",children:(0,g.jsx)(fQ,{style:{"--typography-scale":i,fontFamily:dW(null==l?void 0:l.fontFamily),color:o.body.color},children:(0,g.jsx)(fJ,Object.assign({ref:t},r,{children:n}))})})});h.I4.div(t1(),a4);let f9=h.I4.div(t0(),hC(.3),e=>{let{$size:t}=e;return"small"===t?a6:a4}),f4=e=>{let{text:t,size:n="regular"}=e;return(0,g.jsx)(f9,{$size:n,children:t})},f6=h.I4.div(t2(),hC(1.25),hC(2)),f8=h.I4.div(t5()),me=h.I4.div(t3(),hS,a8,s7("tooltipLabelTextColor")),mt=h.I4.code(t7(),s7("tooltipValueTextColor")),mn=e=>{let{symbol:t,label:n,value:r}=e;return(0,g.jsxs)(f6,{children:[t&&(0,g.jsx)(f8,{children:t}),n&&(0,g.jsx)(me,{children:n}),(0,g.jsx)(mt,{children:r})]})},mr=e=>{let{children:t,onHover:n,onHoverEnd:r,hasArrow:i=!1,arrowPlacement:o="bottom"}=e;return(0,g.jsx)(fq,{role:"tooltip",children:(0,g.jsxs)(f$,{onPointerEnter:()=>null==n?void 0:n(),onPointerLeave:()=>null==r?void 0:r(),children:[t,i&&(0,g.jsx)(f5,{$placement:o,children:(0,g.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"8",viewBox:"0 0 18 8",fill:"none",children:(0,g.jsx)("path",{d:"M14.5303 2.03033L15.8107 0.75H14H4H2.18934L3.46967 2.03033L8.11612 6.67678C8.60427 7.16493 9.39573 7.16493 9.88388 6.67678L14.5303 2.03033Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5"})})})]})})},mi=f1,mo=e=>{let{children:t}=e;return(0,g.jsx)(f0,{children:(0,g.jsx)(f2,{children:t})})},ml=e=>{let{pointer:t,isEnabled:n=!0,offset:r=0}=e,i=n&&t,{setElement:o,element:l,width:a,height:s}=gV(),{setElement:u,width:c,height:d}=gV();return(0,O.useEffect)(()=>{if(l){let e=dq(l);e&&u(e)}},[u,l]),{setTooltipContainer:o,isVisible:i,position:(0,O.useMemo)(()=>{if(!t)return{};let{pointerX:e,pointerY:n,scaleFactor:i}=t,o=r*i,l=a*i,u=s*i,p=e+o;p+l>c-8&&(p=e-l-o);let h=Math.max(n-u/2,8);return h+=Math.min(0,d-h-u-8),{transformOrigin:"top left",transform:"translate(".concat(p,"px, ").concat(h,"px) scale(").concat(i,") ")}},[t,r,a,c,s,d])}},ma=h.I4.div(t9()),ms=h.I4.div(t4()),mu=h.I4.div(t6(),hC(.5)),mc=h.I4.div(t8()),md=h.I4.div(ne(),hC(1)),mp=h.I4.span(nt(),sn,s7("tooltipValueTextColor")),mh=h.I4.div(nn()),mg=e=>{let{heading:t,accessory:n,trend:r,value:i,label:o,caption:l}=e;return(0,g.jsxs)(ma,{children:[(0,g.jsxs)(ms,{children:[(0,g.jsxs)(mu,{children:[(0,g.jsx)(mc,{children:null!=n?n:(0,g.jsx)("div",{})}),(0,g.jsx)(mi,{children:t})]}),(0,g.jsx)(md,{children:(0,g.jsx)(mp,{children:i})}),l?(0,g.jsx)(f4,{text:l}):(0,g.jsx)(mh,{}),r]}),o&&(0,g.jsx)(mo,{children:o})]})},mf=()=>{let[e,t]=(0,O.useState)(null),[n,r]=(0,O.useState)(null);return{pointerX:e,pointerY:n,handleMouseMove:(0,O.useCallback)(e=>{t(e.clientX),r(e.clientY)},[]),handleMouseLeave:(0,O.useCallback)(()=>{t(null),r(null)},[])}},mm=e=>(0,h.AH)(ni(),sx[e],sb[e],aU[sC[e]],sv[e]&&(0,h.AH)(nr(),sv[e])),my=mm("titleLarge"),mx=mm("titleMedium"),mb=mm("titleSmall"),mC=mm("titleSmaller"),mv=mm("titleSmallest"),mj=mm("body"),mA=mm("bodyBold"),mw=mm("bodyLink"),mk=mm("bodyLarge"),mS=mm("caption"),mP=mm("captionLink"),mL=mm("label"),mM=mm("labelSmall"),mO=mm("captionBody");var mT=Object.freeze({__proto__:null,body:mj,bodyBold:mA,bodyLarge:mk,bodyLink:mw,caption:mS,captionBody:mO,captionLink:mP,label:mL,labelSmall:mM,titleLarge:my,titleMedium:mx,titleSmall:mb,titleSmaller:mC,titleSmallest:mv});let mD=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.05;return(0,h.AH)(no(),s9(t||s7("textPrimary"),n),e,e,e/2,e/2)},mI=["#B399FE","#FC7E91","#33B6E0","#FFC849","#25CDA5","#FA9B65","#D93C95","#845FD8","#3F8EEB","#58C8D8","#F35074","#6EA0DA"],mE=(e,t,n,r)=>{var i,o;let l,a,{vizType:s,theme:u,palette:c,colorScheme:d,seriesConfig:p,brandKit:h,customPalettes:g}=e;if("custom"===u)return hq(p,s);if("brandKit"===u)return hq(h,s);switch(u){case"graphy":case"pastel":a=l="graphy"===u?mz(s):mY(s);break;case"mono":l=mB(c,t,d),a=mB(c,10,d);break;case"neon":l=mR(c,t,s),a=mR(c,10,s);break;case"customPalette":{let e=mF({paletteId:c,customPalettes:g,vizType:s,seriesCount:null!=t?t:10});a=e.full,l=e.base}}if(r&&n&&!(Object.keys(null!=p?p:{}).filter(e=>{var t;return null==(t=null==p?void 0:p[e])?void 0:t.color}).length>1)){let e=null!=(o=null==(i=null==p?void 0:p.series1)?void 0:i.color)?o:l[0];return Array(t).fill(e)}return((e,t,n,r,i)=>"waterfall"===n?e:hQ.slice(0,Math.max(r,1)).map((n,r)=>{var o;let l=null==(o=null==i?void 0:i[n])?void 0:o.color;return l&&t.includes(l)?l:e[r%e.length]}))(l,a,s,t,p)},mH=(e,t)=>{switch(e.theme){case"graphy":return mz(e.vizType);case"pastel":return mY(e.vizType);case"mono":return mB(e.palette,null!=t?t:7,e.colorScheme);case"neon":return mR(e.palette,null!=t?t:10,e.vizType);case"customPalette":return mF({paletteId:e.palette,customPalettes:e.customPalettes,vizType:e.vizType,seriesCount:null!=t?t:10}).full;default:return mz(e)}},mV={dark:{1:[500],2:[600,400],3:[600,400,200],4:[600,500,300,100],5:[700,600,400,200,50],6:[600,500,400,300,200,100],7:[600,500,400,300,200,100,50],default:[700,600,500,400,300,200,100,50]},light:{1:[600],2:[700,500],3:[800,600,400],4:[800,600,400,300],5:[800,700,600,500,400],6:[800,700,600,500,400,300],7:[900,800,700,600,500,400,300],default:[900,800,700,600,500,400,300,200]}},mF=e=>{let{paletteId:t,customPalettes:n,vizType:r,seriesCount:i}=e,o=null==n?void 0:n.find(e=>e.id===t);if(!o){let e=mz(r);return{base:e,full:e}}let l=o.colors.map(e=>e.hex);if(0===l.length){let e=mz(r);return{base:e,full:e}}return{base:l.slice(0,i),full:l}},mB=(e,t,n)=>{var r;let i=null!=(r=mV[n][t])?r:mV[n].default,o=i.map(t=>hY["".concat(e).concat(t)]);return o.length?o:[hY["".concat(e).concat(i[0])]]},mR=(e,t,n)=>{if("waterfall"===n)return hX;let r=((e,t)=>{let n=e.length,r=(t%n+n)%n;return Array.from({length:n},(t,i)=>e[(i+r)%n])})(hN,hN.indexOf(hG[e])).slice(0,t);return r.length?r:[hN[0]]},mz=e=>"waterfall"===e?hK:hW,mY=e=>"waterfall"===e?hZ:hU,mG=e=>{let{min:t,max:n}=e;return t&&n?"@media (".concat(sw[t],"px <= width < ").concat(sw[n],"px)"):t?"@media (width >= ".concat(sw[t],"px)"):n?"@media (width < ".concat(sw[n],"px)"):""},mW={tablet:mG({min:"tablet"}),desktop:mG({min:"desktop"}),largeScreen:mG({min:"largeScreen"}),mobileOnly:mG({max:"tablet"}),tabletOnly:mG({min:"tablet",max:"desktop"}),desktopOnly:mG({min:"desktop",max:"largeScreen"}),largeScreenOnly:mG({min:"largeScreen"}),custom:mG},mU=D.Ik({id:D.Yj(),label:D.Yj().optional(),value:D.Yj()}),mN=D.Ik({white:D.Yj(),black:D.Yj(),transparent:D.Yj(),grey100:D.Yj(),grey95:D.Yj(),grey90:D.Yj(),grey85:D.Yj(),grey80:D.Yj(),grey75:D.Yj(),grey70:D.Yj(),grey60:D.Yj(),grey50:D.Yj(),grey0:D.Yj(),green60:D.Yj(),green50:D.Yj(),red60:D.Yj(),red50:D.Yj(),amber70:D.Yj(),amber50:D.Yj(),amber40:D.Yj(),amber30:D.Yj(),blue80:D.Yj(),blue60:D.Yj(),purple50:D.Yj(),purple30:D.Yj(),greyGradient80:D.Yj(),brand:D.Yj(),success:D.Yj(),warning:D.Yj(),alert:D.Yj(),textPrimary:D.Yj(),textSecondary:D.Yj(),textDisabled:D.Yj(),border100:D.Yj(),border10:D.Yj(),sunkenBackground:D.Yj(),defaultBackground:D.Yj(),raisedBackground:D.Yj(),overlayBackground:D.Yj(),overlayBorderGradient:D.Yj(),gridLineColor:D.Yj(),hoverGuideLineColor:D.Yj(),originLineColor:D.Yj(),targetLineColor:D.Yj(),targetLineMarkerColor:D.Yj(),legendBackground:D.Yj(),legendBorderColor:D.Yj(),legendTextColor:D.Yj(),dimmedSeriesLabelTextColor:D.Yj(),dimmedSeriesLabelLineColor:D.Yj(),trendNegativeColor:D.Yj(),trendPositiveColor:D.Yj(),tooltipBackground:D.Yj(),tooltipBorderColor:D.Yj(),tooltipHeadingTextColor:D.Yj(),tooltipLabelTextColor:D.Yj(),tooltipValueTextColor:D.Yj(),graphTypeIconAccentColor:D.Yj(),heatmapEmptyTileBackground:D.Yj(),stackedBarHoverBorderColor:D.Yj(),defaultArrowAnnotationColor:D.Yj(),annotationFrameBorderColor:D.Yj(),annotationMenuTriggerIconColor:D.Yj()}),mK=D.k5(["light","dark"]),mZ=D.Ik({id:D.Yj(),colorScheme:mK,values:mN,canvasColors:D.YO(mU)}),mX=mN.partial(),m_=e=>Array.isArray(e)?!!e.length:!!e;!function(e){e.Null="null",e.Number="number",e.Boolean="boolean",e.Datetime="datetime",e.String="string"}(o||(o={}));let mQ="#%_ENCODED_%#",mJ=e=>"string"==typeof e&&e.startsWith(mQ)?e:null===e?mq(o.Null):"number"==typeof e?mq(o.Number,e):"boolean"==typeof e?mq(o.Boolean,e):e instanceof Date?mq(o.Datetime,e.toISOString()):mq(o.String,e),mq=(e,t)=>"".concat(mQ).concat(JSON.stringify({type:e,value:t})),m$=e=>{if("string"!=typeof e||!e.startsWith(mQ))return e;try{let{type:t,value:n}=JSON.parse(e.slice(13));if(t===o.Null||void 0===n)return null;if(t===o.Datetime)return new Date(n);if([o.Number,o.Boolean,o.String].includes(t))return n}catch(e){}return e},m1=e=>{let{data:t,group:n}=e;return m_(n)?[...new Set([...t].map(e=>e[n[0].variableKey]))].map(mJ):[]},m0=(0,O.createContext)(null),m2=()=>{let e=(0,O.useContext)(m0);if(null===e)throw Error("InteractivityProvider must be mounted above useInteractivity");return e},m5=e=>"line"===e.type,m3=e=>"bar"===e.type,m7=e=>"tile"===e.type,m9=e=>m5(e)||m3(e)||m7(e)||m6(e),m4=e=>"pie"===e.type||"donut"===e.type,m6=e=>"point"===e.type,m8=e=>m3(e)&&!0===e.isMekko,ye=e=>"xy"===e.type,yt=(0,O.createContext)(null),yn=ua(yt,"HighlightProvider"),yr=e=>{let{vizType:t,aestheticMappings:n,data:r,chartHasTrend:i,children:o,highlightStyle:l}=e,{highlight:a,id:s}=n,u="highlightGroup"in n?n.highlightGroup:void 0,c="group"in n?n.group:void 0,d="x"in n?n.x:void 0,{overlayState:{closestGeomDataPoint:p}}=m2(),h=!!p,f=(0,O.useMemo)(()=>{let e=!!u&&r.getValues(u).some(Boolean),t=!!a&&r.getValues(a).some(Boolean);return e||t},[r,a,u]),m=(0,O.useMemo)(()=>yi({data:r,highlight:a}),[r,a]),y=(0,O.useMemo)(()=>yo({data:r,group:c,highlightGroup:u}),[r,c,u]),x=(0,O.useMemo)(()=>ya({data:r,x:d,highlight:a}),[r,d,a]),b=(0,O.useCallback)(e=>!0===m(e),[m]),C=(0,O.useCallback)(e=>!0===y(e),[y]),v=(0,O.useCallback)(e=>!(f||!i)||!1===y(e),[f,i,y]),j=(0,O.useCallback)(e=>{let t=v(e),n=m$(yl({observation:e,group:c})),r=p&&m5(p)&&p.groupValues.includes(n);return h&&!r||t&&!r},[p,c,h,v]),A=(0,O.useCallback)(e=>{let t=!f&&i,n=(null!==m(e)||null!==y(e))&&!0!==m(e)&&!0!==y(e),r=p&&m3(p)&&e[s]===p.id;return h&&!r||(t||n)&&!r},[f,i,m,y,p,s,h]),w=(0,O.useCallback)(e=>!0===m(e)||!0===y(e),[m,y]),k=(0,O.useCallback)(e=>!!["barStacked","columnStacked"].includes(t)&&!0===x(e),[t,x]),S=(0,O.useMemo)(()=>["line","areaStacked"].includes(t)&&[...r].some(C),[r,C,t]),P=(0,O.useMemo)(()=>["barStacked","columnStacked","barStackedFill","columnStackedFill","mekko"].includes(t)&&[...r].some(e=>!0===y(e)),[r,y,t]),L=h?"fade-color":null!=l?l:"grey",M=h?"weak":"normal",T=(0,O.useMemo)(()=>({isHighlighted:m,isGroupHighlighted:y,isXValueHighlighted:x,isPointHighlighted:b,isSeriesHighlighted:C,isSeriesDimmed:v,isLineDimmed:j,isBarDimmed:A,isBarHighlighted:w,isStackHighlighted:k,isAnyLineHighlighted:S,isAnyStackHighlighted:P,chartHasHighlight:f,highlightStyle:L,dimAmount:M}),[m,y,x,b,C,v,j,A,w,k,S,P,f,L,M]);return(0,g.jsx)(yt.Provider,{value:T,children:o})},yi=e=>{let{data:t,highlight:n}=e,r=void 0!==n&&t.getValues(n).some(e=>null!==e&&gW(e));return e=>{if(!n||!r)return null;let t=e[n];return null===t?null:gW(t)}},yo=e=>{let{data:t,group:n,highlightGroup:r}=e,i=m1({data:t,group:n}),o=new Map;for(let e of i)o.set(e,null);if(r)for(let e of t){let t=yl({observation:e,group:n});if(!o.has(t))continue;let i=e[r];if(null===i)continue;let l=gW(i);null===o.get(t)?o.set(t,l):l&&o.set(t,!0)}if([...o.values()].every(e=>!1===e))for(let e of i)o.set(e,null);return e=>{var t;if(!r)return null;let i=yl({observation:e,group:n});return null!=(t=o.get(i))?t:null}},yl=e=>{let{observation:t,group:n}=e;return(null==n?void 0:n[0])?mJ(t[n[0].variableKey]):""},ya=e=>{let{data:t,x:n,highlight:r}=e;if(!r||!n)return()=>null;let i=[...new Set(t.getValues(n))].map(mJ),o=new Map;for(let e of i)o.set(e,!1),[...t].filter(t=>mJ(t[n])===e).every(e=>{let t=e[r];return null!==t&&gW(t)})&&o.set(e,!0);if([...o.values()].every(e=>!1===e))for(let e of i)o.set(e,null);return e=>{var t;if(!r)return null;let i=mJ(e[n]);return null!=(t=o.get(i))?t:null}},ys="undefined"!=typeof document?document.createElement("div"):null;ys&&(ys.style.cssText="\n position: absolute;\n left: -999999px;\n top: -999999px;\n opacity: 0;\n pointer-events: none;\n ",document.body.appendChild(ys));let yu=()=>{let e=fY("textScale"),t=fY("font"),n=(0,O.useContext)(yt);return(0,O.useCallback)(r=>{var i;if(!ys)return{x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0,toJSON:()=>({})};ys.innerHTML=_.renderToStaticMarkup((0,g.jsx)(fK,{theme:hD,children:(0,g.jsx)(yt.Provider,{value:n,children:(0,g.jsx)(fQ,{style:{"--typography-scale":e,"--typography-chart-font-family":dW(t.body.fontId)},children:(0,g.jsx)("span",{"data-id":"measure-react-content-span",children:r})})})}));let o=ys.querySelector('[data-id="measure-react-content-span"]');return null!=(i=null==o?void 0:o.getBoundingClientRect())?i:ys.getBoundingClientRect()},[t,n,e])},yc=e=>{let{vizType:t,observations:n,x:r,y:i,group:o,skip:l=()=>!1}=e,[a,s]=o,{order:u,variableKey:c}=a,{order:d,variableKey:p}=s||{},h=((null==u?void 0:u.length)?yp(n,u,c):yd(n,c)).filter(e=>!l(e)),g=[];p&&(g=(null==d?void 0:d.length)?yp(n,d,p):yd(n,p));let{partitions:f}=(e=>{let{observations:t,x:n,group:r}=e,i=(0,eo.Ay)(t,e=>(e=>{var t;let{observation:n,x:r,group:i}=e,o=null==(t=i[1])?void 0:t.variableKey;return(o?[n[o],n[r]]:[n[r]]).map(mJ).join(",")})({observation:e,x:n,group:r})),o=[...i.values()],l=[...i.keys()];return{partitionsMap:i,partitions:o,partitionKeys:l}})({observations:n,x:r,group:o}),m=f.map(e=>e.reduce((e,t)=>Object.assign(Object.assign({},e),{[mJ(t[c])]:t}),{}));return{stackedData:yh((0,Q.A)().keys(h).value((e,t)=>{var n,r;return gY(null!=(r=null==(n=e[t])?void 0:n[i])?r:0)}).offset(["barStackedFill","columnStackedFill","mekko"].includes(t)?J.A:q.A)(m)),barGroupKeys:g}},yd=(e,t)=>[...new Set(e.map(e=>e[t]))].map(mJ),yp=(e,t,n)=>{let r=[],i=[];for(let o of t)for(let t of e)t[n]===o?r.push(t):i.push(t);return yd([...r,...i],n)},yh=e=>e.map(e=>e.map(t=>t.data[e.key]?{seriesKey:e.key,yLowerValue:t[0],yUpperValue:t[1],observation:t.data[e.key]}:null)),yg=e=>{let{stackedData:t}=e;return(0,v.A)(...t)},yf=e=>{let{observation:t,group:n}=e;return n?n.map(e=>{let{variableKey:n}=e;return t[n]}):[]},ym=e=>{let{observations:t,group:n=[]}=e,{partitionsMap:r,partitionPathLabels:i}=yx({group:n,observations:t}),o=[...r.values()],l=[...r.keys()];return{partitionsMap:r,partitions:o,partitionKeys:l,partitionPathLabels:i}},yy=e=>{let{observation:t,group:n}=e;return yf({observation:t,group:n}).map(mJ).join(",")},yx=e=>{var t;let{group:n,observations:r}=e,i=yb({group:n,observations:r,keyPath:[]});(null==(t=n[0])?void 0:t.order)&&(i=yC(i,n[0].order,0));let o=new Map,l=new Set;for(let[e,t]of i)l.add(e),o.set(e.map(mJ).join(","),t);return{partitionsMap:o,partitionPathLabels:[...l]}},yb=e=>{var t;let{group:n,observations:r,keyPath:i}=e,[o,...l]=n;if(!o)return[[i,r]];let a=[...(0,eo.Ay)(r,e=>e[o.variableKey])].map(e=>{let[t,n]=e;return[[...i,t],n]});return l.length?a.flatMap(e=>{let[t,n]=e;return yb({group:l,observations:n,keyPath:t})}):(null==(t=n[0])?void 0:t.order)?yC(a,n[0].order,1):a},yC=(e,t,n)=>{if(t.length){let r=[],i=[];for(let o of t)for(let t of e)t[0][n]===o?r.push(t):i.push(t);return[...r,...i]}return e},yv=e=>{let{observation:t,cluster:n}=e;return n?Array.isArray(n)?n.map(e=>t[e]):[t[n]]:[]},yj=e=>Array.isArray(e)?!!e.length:!!e,yA=(e,t)=>{let n=(0,ed.d)(e);return O.useEffect(()=>{let r=(0,ec.xv)(n.get(),e);(0,ep.i)(0,1,Object.assign(Object.assign({},t),{onUpdate:e=>{let t=r(e);return n.set(t)}}))},[t,e,n]),n},yw=(e,t)=>{if(null==t)return!1;if(dS(e))try{return gG(t),!0}catch(e){return!1}if(dL(e))try{return gY(t),!0}catch(e){return!1}return!0},yk=e=>{try{return gY(e),!0}catch(e){return!1}},yS=(e,t)=>{let n=e.length>=2?e.slice(0,-1):e,r=e.length>=2?e[e.length-1]:null;return{primaryGeomKeys:n,secondaryGeomKey:r,primaryDomainKeys:"single"===t?e:n,secondaryDomainKey:"single"===t?null:r}},yP=["barStacked","columnStacked","barStackedFill","columnStackedFill","mekko"],yL=e=>{var t,n;let{vizType:r,data:i,x:o,y:l,group:a,yGoalValue:s,secondaryGeomKey:u,comboPlotAxisCount:c,customEndAt:d}=e,{stackedData:p}=yc({vizType:r,observations:[...i],x:o,y:l,group:a,skip:e=>"double"===c&&e===u}),h=p.flat(),g=null!=(t=(0,ea.A)(h,e=>{var t;return null!=(t=null==e?void 0:e.yUpperValue)?t:0}))?t:0,f=d?Math.max(d,g):g,m=[null!=(n=(0,es.A)(h,e=>{var t;return null!=(t=null==e?void 0:e.yLowerValue)?t:0}))?n:0,f];return yk(s)?[Math.min(gY(s),m[0]),Math.max(gY(s),m[1])]:m},yM=e=>{let t,{strategy:n,values:r,absoluteValue:i}=e;try{if(null===i)return null;t=gY(i)}catch(e){return null}switch(n){case"divide-by-total":{let e=yO(r);return 0===e?null:t/e}case"divide-by-max-value":{let e=yT(r);return null===e||0===e?null:t/e}}},yO=e=>e.reduce((e,t)=>{if(null===t)return e;try{return e+gY(t)}catch(t){return e}},0),yT=e=>{let t=[];for(let n of e)if(null!==n)try{t.push(gY(n))}catch(e){}return 0===t.length?null:Math.max(...t)},yD=e=>{let t=!1;try{t=null===e||gY(e)>=0}catch(e){}return t},yI=(e,t,n,r)=>{let i=r.reduce((r,i)=>{let o=i.find(e=>null==e?void 0:e.observation),l=yE(null==o?void 0:o.observation,e,n);if(!l)return r;let a=i.map(e=>{var n;return null!=(n=null==e?void 0:e.observation[t])?n:null});return Object.assign(Object.assign({},r),{[l]:a})},{});return t=>{var r;let o=yE(t,e,n);return o&&null!=(r=i[o])?r:[]}},yE=(e,t,n)=>{var r,i;if(!e)return null;let o=mJ(null!=(r=e[t])?r:"");return n[1]&&(o="".concat(o,"-").concat(mJ(null!=(i=e[n[1].variableKey])?i:""))),o},yH="__%graphy%__upper",yV="__%graphy%__lower",yF=(e,t,n)=>Object.assign(Object.assign({},e),{[yH]:t,[yV]:n}),yB=e=>e>=200?8:4,yR=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.3,r=(0,ex.Ay)(t).desaturate(100);return ex.Ay.mix(e,r,n,"rgb").hex()},yz=e=>{let{theme:t,fill:n,opacity:r,isDimmed:i,highlightStyle:o,backgroundColor:l,dimAmount:a="normal"}=e;if(!n)return"";let s=n;try{void 0!==r&&(s=ex.Ay.mix(t.values.grey100,n,r).hex())}catch(e){}try{let e=l&&"transparent"!==l?l:t.values.grey100,r="normal"===a?.3:.7;i&&(s="grey"===o?yR(e,n,r):ex.Ay.mix(e,s,r,"rgb").hex())}catch(e){}return s},yY=e=>{var t;let{partitionKeys:n,partitionsMap:r,isSeriesHighlighted:i}=e,o=[],l=[];for(let e of n){let[n]=null!=(t=r.get(e))?t:[];n&&(i(n)?o.push(e):l.push(e))}return[...o,...l].reverse()},yG=e=>{let{measureReactContent:t,text:n,maxWidth:r,wrapper:i=e=>{let{children:t}=e;return t}}=e,o=e=>"".concat(e.trim(),"…"),l=e=>t((0,g.jsx)(i,{children:e})),a=n,{width:s}=l(a);for(;s>r&&a.length;)s=l(o(a=a.slice(0,-1))).width;return a.length<=1&&l(n.slice(0,a.length+1)).width<=r?n.slice(0,a.length+1):a!==n?o(a):n},yW=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"solid";switch(t){case"solid":return{strokeWidth:e,strokeLinejoin:"round",strokeLinecap:"round"};case"dashed":return{strokeWidth:e,strokeDasharray:"".concat(4*e," ").concat(3*e),strokeLinejoin:"round",strokeLinecap:"butt"};case"dotted":return{strokeWidth:e,strokeDasharray:"".concat(+e," ").concat(+e),strokeLinejoin:"round",strokeLinecap:"butt"}}},yU=e=>{let{theme:t,color:n,isDimmed:r,highlightStyle:i,backgroundColor:o,dimAmount:l="normal"}=e,a=n,s="normal"===l?.3:.7;try{let e=o&&"transparent"!==o?o:t.values.grey100;r&&(a="grey"===i?yR(e,a,s):ex.Ay.mix(e,a,s,"rgb").hex())}catch(e){}return a},yN="__DEFAULT_COLOR__";!function(e){e.X="x",e.Y="y"}(l||(l={})),function(e){e.Mekko="mekko",e.Timeseries="timeseries",e.Dynamic="dynamic",e.Continuous="continuous",e.Fixed="fixed"}(a||(a={}));let yK=e=>{if(!("ticks"in e))return!1;let t=e.domain();if("number"!=typeof t[0])return!1;let[n,r]=[Math.min(...t),Math.max(...t)];return n<0&&r>0},yZ=[...cJ,...cq,"waterfall","mekko"],yX=e=>{let{xType:t,isTimeseriesBarAxis:n,vizType:r,comboPlotType:i}=e;return"mekko"===r?a.Mekko:y_(r,t,n,i)?a.Timeseries:["line","areaStacked"].includes(r)?a.Dynamic:dL(t)?a.Continuous:a.Fixed},y_=(e,t,n,r)=>!!dS(t)&&(!!n||!yZ.includes(e)&&("combo"!==e||"lines"===r)),yQ=[...cJ,...cq,"combo","heatmap","waterfall"],yJ=(e,t,n,r)=>!(!dw(t)&&!dk(t))||r===l.X&&yQ.includes(e)&&"lines"!==n,yq=["barStackedFill","columnStackedFill","mekko"],y$=e=>{var t,n;let{data:r,lowerKey:i,upperKey:o,dimensionSize:l}=e,a=i?r.getValues(i):[],s=o?r.getValues(o):[],u=null!=(t=(0,es.A)(a.map(e=>{var t;return gY(null!=(t=m$(e))?t:0)})))?t:0,c=null!=(n=(0,ea.A)(s.map(e=>{var t;return gY(null!=(t=m$(e))?t:0)})))?n:0;return(0,N.A)().range([0,l]).domain([u,c])},y1=e=>{let{vizType:t,orientation:n,comboPlotType:r,values:i=[],dataType:o,customDomain:l,range:a,innerPadding:s,outerPadding:u,useLogScale:c,customStartFrom:d,customEndAt:p}=e;if(yJ(t,o,r,n))return y0({values:i,customDomain:l,range:a,innerPadding:s,outerPadding:u});if(dL(o))return y2({vizType:t,orientation:n,values:i,customDomain:l,range:a,useLogScale:c,comboPlotType:r,customStartFrom:d,customEndAt:p,dataType:o});if(dS(o))return y3({values:i,range:a});throw Error("Cannot create scale of type ".concat(o))},y0=e=>{let{values:t=[],customDomain:n,range:r,innerPadding:i=0,outerPadding:o=0}=e,l=(0,eu.A)(t,mJ);return(0,K.A)().domain(n||l).range(r).paddingOuter(o).paddingInner(i)},y2=e=>{let{vizType:t,orientation:n,values:r,customDomain:i,customStartFrom:o,customEndAt:l,range:a,useLogScale:s,comboPlotType:u,dataType:c}=e,d=y4(i)?i:y8(r);if(s&&y6(d))return(0,Z.A)().domain(d).range(a);let p=(0,N.A)().domain(d).range(a);y5(t,c,u,n)&&p.nice();let[h,g]=p.domain();return(o||l)&&h&&g&&p.domain([null!=o?o:h,null!=l?l:g]),p},y5=(e,t,n,r)=>{switch(r){case l.Y:return!yq.includes(e);case l.X:return yX({xType:t,isTimeseriesBarAxis:!1,vizType:e,comboPlotType:n})===a.Continuous;default:return!1}},y3=e=>{let{values:t,range:n}=e;return(0,X.A)().domain(xe(t)).range(n)},y7=e=>{let{vizType:t,comboPlotType:n,orientation:r,scale:i,dataType:o,getValue:l}=e;return yJ(t,o,n,r)?e=>{var t;return null!=(t=i(mJ(l(e))))?t:0}:dL(o)?e=>{let t=l(e);return i(null===t?0:gY(t))}:dS(o)?e=>{let t=l(e);return i(null===t?0:gG(t))}:()=>0},y9=e=>{let{scale:t,dataType:n}=e;return"ticks"in t?dS(n)?e=>{if(null===e)return null;try{return t(gG(e))}catch(e){return null}}:e=>{if(null===e)return null;try{return t(gY(e))}catch(e){return null}}:e=>{if(null===e)return null;let n=t(mJ(e));return void 0===n?null:n+t.bandwidth()/2}},y4=e=>!!e&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1],y6=e=>e[0]<0&&e[1]<0||e[0]>0&&e[1]>0,y8=e=>{let t=(0,el.A)(e.filter(cD),gY);return void 0===t[0]||void 0===t[1]?[0,0]:t},xe=e=>{let t=(0,el.A)(e.filter(cD),gG);return void 0===t[0]||void 0===t[1]?[]:t},xt="__%graphy%__y_start",xn="__%graphy%__y_end",xr="__%graphy%__waterfall_type",xi="start",xo="positive",xl="negative",xa="total",xs=[xi,xo,xl,xa],xu=(e,t,n)=>"heatmap"===e||n?[0,t]:[t,0],xc=e=>{let{barGroupKeys:t,xBandwidth:n}=e,r=(0,K.A)().domain(t).range([0,n]).paddingInner(.1*(t.length>1)).paddingOuter(0),i=r.bandwidth(),o=(e=>{let{barGroupXScale:t}=e;return e=>{var n;return null===e?0:null!=(n=t(e))?n:0}})({barGroupXScale:r});return{barGroupXScale:r,getBarGroupXPosition:o,barGroupXBandwidth:i}},xd="__DEFAULT_FILL_TYPE__",xp="__DEFAULT_LINE_TYPE__",xh=O.createContext(null),xg=()=>{let e=(0,O.useContext)(xh);if(null===e)throw Error("ColorScalesProvider must be present in the React tree");return e},xf=e=>{let{vizType:t,children:n,data:r,vizPalette:i,fillTypeRange:o,color:l,alpha:a,fillType:s,lineType:u,lineTypeRange:c}=e,d="waterfall"===t,p=(0,O.useMemo)(()=>(e=>{let{values:t,color:n,vizPalette:r=mI}=e,i=(0,U.A)().domain(n&&0!==t.length?[...new Set(t)].map(mJ):[yN]).range(r),o=(e=>{let{colorScale:t,color:n}=e;return e=>t(n?mJ(e[n]):yN)})({colorScale:i,color:n});return{colorScale:i,getColor:o}})({values:d?xs:l?r.getValues(l):[],color:d?xr:l,vizPalette:i}),[l,r,d,i]),h=(0,O.useMemo)(()=>(e=>{let{data:t,alpha:n}=e,r=n?t.getValues(n):[],i=(0,N.A)().domain((()=>{let e=(0,el.A)(r.filter(cD),gY);return void 0===e[0]&&void 0===e[1]?[0,0]:e})()).range([n?.05:1,1]),o=(e=>{let{alphaScale:t,alpha:n}=e;return e=>{if(!n)return 1;let r=e[n];return t(null===r?0:gY(r))}})({alphaScale:i,alpha:n});return{alphaScale:i,getAlpha:o,isAlphaDefined:!!n,alphaValues:r}})({data:r,alpha:a}),[a,r]),f=(0,O.useMemo)(()=>(e=>{let{values:t,fillType:n,range:r=["solid"]}=e,i=(0,U.A)().domain(n&&0!==t.length?[...new Set(t)].map(mJ):[xd]).range(r),o=(e=>{let{fillTypeScale:t,fillType:n}=e;return e=>t(n?mJ(e[n]):xd)})({fillTypeScale:i,fillType:n});return{fillTypeScale:i,getFillType:o,isFillTypeDefined:void 0!==n}})({values:d?xs:s?r.getValues(s):[],fillType:d?xr:s,range:o}),[r,s,o,d]),m=(0,O.useMemo)(()=>(e=>{let{data:t,lineType:n,range:r=["solid"]}=e,i=(0,U.A)().domain(!n?[xp]:[...new Set(t.getValues(n))].map(mJ)).range(r),o=(e=>{let{lineTypeScale:t,lineType:n}=e;return e=>t(n?mJ(e[n]):xp)})({lineTypeScale:i,lineType:n});return{lineTypeScale:i,getLineType:o,isLineTypeDefined:void 0!==n}})({data:r,lineType:u,range:c}),[r,u,c]),y=(0,O.useMemo)(()=>Object.assign(Object.assign(Object.assign(Object.assign({},p),h),f),m),[p,h,f,m]);return(0,g.jsx)(xh.Provider,{value:y,children:n})},xm=h.I4.div(nl()),xy=h.I4.div(na()),xx=h.I4.div(ns()),xb=h.I4.div(nu()),xC=h.I4.div(nc()),xv=h.I4.div(nd()),xj=e=>{let{children:t,titleContent:n,chartSummary:r,footerContent:i}=e,o=fY("chartPortalId");return(0,g.jsxs)(xm,{id:o,children:[(0,g.jsxs)(xy,{children:[n?(0,g.jsx)(xx,{children:n}):null,r?(0,g.jsx)(xC,{children:r}):null]}),(0,g.jsx)(xb,{children:t}),i?(0,g.jsx)(xv,{children:i}):null]})},xA=gu(null),xw=e=>gc(xA,t=>{if(!t)throw Error("usePlotDimensionValue must be used within PlotDimensionsContext.Provider");return t[e]}),xk=(e,t)=>{let n=(0,j.A)(e,["type",t],["asc","asc"]);return[...(0,eo.Ay)(n,e=>null!==e.clusterValues?xS(e.clusterValues):e[t]).values()]},xS=e=>e.map(mJ).join(","),xP=e=>!!e.length,xL=e=>null!==e;class xM extends EventTarget{on(e,t){this.addEventListener(e,t)}off(e,t){this.removeEventListener(e,t)}emit(e,t){this.dispatchEvent(new CustomEvent(e,{detail:t}))}}let xO=(e,t)=>{let[n,r]=e,[i,o]=t;return Math.abs(Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2)))},xT=e=>(e+2.5*Math.PI)%(2*Math.PI),xD=e=>e-Math.PI/2,xI=e=>{let{startAngle:t,endAngle:n,radius:r,offset:i=0,position:o=.5}=e,l=xD(Math.abs((n+t)*o)),a=r+i;return{x:Math.cos(l)*a,y:Math.sin(l)*a}},xE=e=>{switch(e.type){case"bar":return(e=>{let t=yD(e.yValue),n=(e.x0+e.x1)/2,r=(e.y0+e.y1)/2;return e.flipAxes?{x:"none"===e.stackType?t?e.x1:e.x0:n,y:r}:{x:n,y:"none"===e.stackType?t?e.y0:e.y1:r}})(e);case"point":case"line":return{x:e.xPosition,y:e.yPosition};case"tile":return{x:(e.x0+e.x1)/2,y:(e.y0+e.y1)/2};case"donut":case"pie":return(e=>{let t=xI({position:.5,radius:e.pieRadius,startAngle:e.startAngle,endAngle:e.endAngle,offset:-2});return{x:t.x+e.pieCenterX,y:t.y+e.pieCenterY}})(e)}},xH=e=>{switch(e.type){case"bar":case"tile":return{x:(e.x0+e.x1)/2,y:(e.y0+e.y1)/2};case"point":case"line":return{x:e.xPosition,y:e.yPosition};case"donut":case"pie":{let t=xI({position:.5,radius:e.pieRadius/2,startAngle:e.startAngle,endAngle:e.endAngle});return{x:t.x+e.pieCenterX,y:t.y+e.pieCenterY}}}},xV=e=>{let{rect:{x0:t,y0:n,x1:r,y1:i},x:o,y:l}=e;return o>=t&&o<=r&&l>=n&&l<=i},xF=e=>{let{dataPoints:t,relativePointerX:n,relativePointerY:r}=e,i=null,o=1/0,l=null,a=1/0,s=null;for(let e of t){!s&&m3(e)&&xV({rect:e,x:n,y:r})&&(s=e);let t=xE(e),u=xO([t.x,t.y],[n,r]);u{var t;let{hitboxes:n,relativePointerX:r,relativePointerY:i}=e;return null!=(t=n.find(e=>ye(e)?xV({rect:e.coords,x:r,y:i}):"pie"===e.type&&(e=>{if((e=>{let{pieCenterX:t,pieCenterY:n,pieRadius:r,relativePointerX:i,relativePointerY:o}=e;return xO([i,o],[t,n])<=r+10})(e)){let{startAngle:t,endAngle:n,relativePointerX:r,relativePointerY:i,pieCenterX:o,pieCenterY:l}=e,a=xT(Math.atan2(i-l,r-o));return a>=t&&a<=n}return!1})(Object.assign(Object.assign({},e),{relativePointerX:r,relativePointerY:i}))))?t:null},xR={activeHitbox:null,pointer:null,plotWidth:null,closestDataPointToAnnotation:null,distanceToAnnotation:1/0,closestGeomDataPoint:null,distanceToGeomMidpoint:1/0},xz=e=>{let{dataPoints:t,addons:n,children:r,flipAxes:i}=e,[o]=(0,O.useState)(()=>new xM),l=xw("plotWidth"),a=xw("plotHeight"),s=(0,O.useRef)(null),u=(0,O.useMemo)(()=>(e=>{let{dataPoints:t,plotWidth:n,plotHeight:r,flipAxes:i}=e,o=i?r:n,l=i?n:r;return t.every(m8)?xk(t,"xPosition").filter(xP).map(e=>{var t,n,r,i;return{type:"xy",dataPoints:e,coords:{x0:null==(t=(0,A.A)(e,"x0"))?void 0:t.x0,x1:null==(n=(0,w.A)(e,"x1"))?void 0:n.x1,y0:null==(r=(0,A.A)(e,"y0"))?void 0:r.y0,y1:null==(i=(0,w.A)(e,"y1"))?void 0:i.y1}}}):t.every(m6)?((e,t,n)=>0===e.length?[]:[{type:"xy",dataPoints:e,coords:{x0:0,x1:t,y0:0,y1:n}}])(t,n,r):t.every(e=>m3(e)||m5(e))?((e,t,n,r)=>{let i=r?"yPosition":"xPosition",o=xk(e,i).filter(xP);return o.map((e,l)=>{let a=(e=>{let{plotMainSize:t,isFirstCluster:n,isLastCluster:r,prevXPosition:i,currentMinXPosition:o,currentMaxXPosition:l,nextXPosition:a}=e,s=0;n||void 0===i||(s=o-(o-i)/2);let u=t;return r||void 0===a||(u=l+(a-l)/2),[s,u]})(Object.assign({plotMainSize:t,isFirstCluster:0===l,isLastCluster:l===o.length-1},(e=>{var t,n,r,i;let{clusters:o,clusterIndex:l,positionKey:a}=e,s=o[l],[u,c]=[o[l-1],o[l+1]],d=null==(t=(0,A.A)(s,a))?void 0:t[a],p=null==(n=(0,w.A)(s,a))?void 0:n[a];return{prevXPosition:null==(r=(0,w.A)(u,a))?void 0:r[a],currentMinXPosition:d,currentMaxXPosition:p,nextXPosition:null==(i=(0,A.A)(c,a))?void 0:i[a]}})({clusters:o,clusterIndex:l,positionKey:i}))),s={[r?"y0":"x0"]:a[0],[r?"y1":"x1"]:a[1],[r?"x0":"y0"]:0,[r?"x1":"y1"]:n};return s.x0===s.x1||s.y0===s.y1?null:{type:"xy",dataPoints:e,coords:s}}).filter(xL)})(t,o,l,i):t.every(m7)?t.map(e=>({type:"xy",dataPoints:[e],coords:{x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1}})):t.every(m4)?(e=>{var t;return null!=(t=e.map(e=>({type:"pie",dataPoints:[e],startAngle:e.startAngle,endAngle:e.endAngle,pieCenterX:e.pieCenterX,pieCenterY:e.pieCenterY,pieRadius:e.pieRadius})))?t:[]})(t):[]})({dataPoints:t,plotWidth:l,plotHeight:a,flipAxes:i}),[t,i,a,l]),c=(0,O.useMemo)(()=>!!n.length,[n]),{overlayState:d,overlayEventHandlers:p}=(e=>{let{events:t,getOverlayDimensions:n,hitboxes:r,plotWidth:i}=e,[o,l]=(0,O.useState)(xR);(0,O.useEffect)(()=>{l(e=>{var t;if(null===e.pointer)return e;let n=xB(Object.assign({hitboxes:r},e.pointer)),i=xF(Object.assign({dataPoints:null!=(t=null==n?void 0:n.dataPoints)?t:[]},e.pointer));return Object.assign(Object.assign({},e),i)})},[r]);let a=(0,O.useCallback)((e,t)=>{let r=0,o=0,l=1,a=n();return a&&(l=a.width/i,r=(e-a.left)/l,o=(t-a.top)/l),{relativePointerX:r,relativePointerY:o,pointerX:e,pointerY:t,scaleFactor:l}},[n,i]),s=(0,O.useCallback)(e=>{let{clientX:t,clientY:n}=e,o=a(t,n),s=xB(Object.assign({hitboxes:r},o));l(e=>Object.assign(Object.assign({},e),{pointer:o,activeHitbox:s,plotWidth:i}))},[a,r,i]),u=(0,O.useCallback)(e=>{var t;let{clientX:n,clientY:o}=e,s=a(n,o),u=xB(Object.assign({hitboxes:r},s)),c=xF(Object.assign({dataPoints:null!=(t=null==u?void 0:u.dataPoints)?t:[]},s));l(e=>Object.assign(Object.assign(Object.assign({},e),{pointer:s,activeHitbox:u,plotWidth:i}),c))},[a,r,i]),c=(0,O.useCallback)(e=>{var n;let{clientX:i,clientY:o}=e,l=a(i,o),s=xB(Object.assign({hitboxes:r},l)),u=xF(Object.assign({dataPoints:null!=(n=null==s?void 0:s.dataPoints)?n:[]},l));t.emit("click",Object.assign({pointer:l},u))},[t,a,r]),d=(0,O.useCallback)(e=>{let{clientX:t,clientY:n,pointerType:r}=e;l(e=>{let i=e.pointer,o=a(t,n);return"mouse"!==r&&(null==i?void 0:i.relativePointerX)===o.relativePointerX&&i.relativePointerY===o.relativePointerY?e:Object.assign(Object.assign({},e),{pointer:null,activeHitbox:null,plotWidth:null,closestDataPoint:null,closestGeomDataPoint:null})})},[a]);return(0,O.useEffect)(()=>{let e=e=>{let{clientX:t,clientY:n}=e;null===xB(Object.assign({hitboxes:r},a(t,n)))&&null!==o.activeHitbox&&l(e=>Object.assign(Object.assign({},e),{pointer:null,activeHitbox:null,plotWidth:null}))};return document.addEventListener("pointerup",e),()=>document.removeEventListener("pointerup",e)},[a,r,o.activeHitbox]),(0,O.useEffect)(()=>{let e=()=>{l(e=>Object.assign(Object.assign({},e),{pointer:null,activeHitbox:null,plotWidth:null}))};return t.on("deactivateHitbox",e),()=>t.off("deactivateHitbox",e)},[t]),{overlayState:o,overlayEventHandlers:{onPointerDown:s,onPointerMove:u,onPointerLeave:d,onClick:c}}})({events:o,getOverlayDimensions:(0,O.useCallback)(()=>{var e;return null==(e=s.current)?void 0:e.getBoundingClientRect()},[]),hitboxes:u,plotWidth:l}),h=(0,O.useMemo)(()=>({hitboxes:u,events:o,overlayState:d,overlayEventHandlers:p,overlayRef:s,isInteractive:c}),[u,o,d,p,c]);return(0,g.jsx)(m0.Provider,{value:h,children:r})},xY=(0,O.createContext)({setFocusedInteraction:()=>{},restoreDefaultInteraction:()=>{},isFocusedInteraction:!1,canUserInteractWithAddon:()=>!0,highlightEditorRef:{current:null},isInHighlightMode:!1,selectedHighlightType:null,_setSelectedHighlightType:()=>{},annotationsAddonRef:{current:null}}),xG=()=>(0,O.useContext)(xY),xW=e=>{let{children:t}=e,[n,r]=(0,O.useState)(null),i=(0,O.useRef)(null),[o,l]=(0,O.useState)(null),a=(0,O.useRef)(null),s=(0,O.useMemo)(()=>({setFocusedInteraction:e=>r(e),restoreDefaultInteraction:()=>r(null),isFocusedInteraction:null!==n,canUserInteractWithAddon:e=>null===n||n===e,highlightEditorRef:i,selectedHighlightType:o,isInHighlightMode:!!o,_setSelectedHighlightType:l,annotationsAddonRef:a}),[n,o]);return(0,g.jsx)(xY.Provider,{value:s,children:t})},xU=h.I4.div(np(),fV.annotationsMenu),xN=h.I4.div(nh(),sy.modern,e=>{let{$isVisible:t}=e;return+!!t},e=>{let{$isSticky:t}=e;return t?"auto":"none"}),xK=h.I4.div(ng(),e=>{let{$isActive:t}=e;return t?"100%":"0"},e=>{let{$isActive:t}=e;return t?"100%":"0"},e=>{let{$isActive:t}=e;return t?fV.focusGuard:"auto"}),xZ=(0,h.i7)(nf()),xX=(0,h.i7)(nm()),x_=(0,h.i7)(ny()),xQ=(0,h.i7)(nx()),xJ=(0,h.I4)(eb.UC)(nb(),hf,fV.annotationsMenu,hC(20),s7("overlayBackground"),hC(1),su.sm,ss.lg,x_,sg.subtle,xQ,sg.subtle,xZ,sg.subtle,xX,sg.subtle),xq={xxs:hC(1),xs:hC(1.5),sm:hC(2),md:hC(2.5),lg:hC(3),xl:hC(4.5)},x$={primary:"textPrimary",muted:"textSecondary",critical:"alert",success:"success",subtle:"textDisabled",warning:"warning"},x1=h.I4.svg(nC(),e=>{let{$variant:t}=e;return t?s7(x$[t]):"currentColor"},ur,s7("grey70"),ui,s7("grey100"),ur,s7("grey70"),ui,s7("grey100")),x0=e=>{var{children:t,title:n,variant:r,size:i="sm"}=e,o=sk(e,["children","title","variant","size"]);let l=(0,O.useId)(),a=xq[i];return(0,g.jsxs)(x1,Object.assign({$variant:"currentColor"===r?void 0:r,"aria-labelledby":n?l:void 0,height:a,width:a,fill:"none",viewBox:"0 0 24 24",role:"img"},o,{children:[n&&(0,g.jsx)("title",{id:l,children:n}),t]}))},x2=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M4.64564 15.9758L4 5H20L19.3544 15.9758C19.2296 18.0962 19.1673 19.1564 18.7147 19.961C18.3163 20.6692 17.7117 21.2394 16.9812 21.5955C16.1515 22 15.0895 22 12.9654 22H11.0346C8.91054 22 7.84851 22 7.01876 21.5955C6.28832 21.2394 5.68366 20.6692 5.28528 19.961C4.83273 19.1564 4.77037 18.0962 4.64564 15.9758Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M11 10C11 9.44773 10.5523 9.00001 10 9.00001C9.44771 9.00001 9 9.44773 9 10V17C9 17.5523 9.44771 18 10 18C10.5523 18 11 17.5523 11 17V10Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M14 9.00001C14.5523 9.00001 15 9.44773 15 10V14C15 14.5523 14.5523 15 14 15C13.4477 15 13 14.5523 13 14V10C13 9.44773 13.4477 9.00001 14 9.00001Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7298 1.00001L10.6089 0.999823C10.1119 0.998656 9.61361 0.997486 9.16612 1.17348C8.77664 1.32667 8.43184 1.57518 8.16335 1.89624C7.85488 2.26511 7.69841 2.73821 7.54236 3.21006L7.5043 3.32484L7.27924 4.00001H2C1.44772 4.00001 1 4.44773 1 5.00001C1 5.5523 1.44772 6.00001 2 6.00001H3.0571L3.64979 16.0759C3.71008 17.101 3.75881 17.9294 3.85207 18.5997C3.94825 19.291 4.1011 19.8955 4.41369 20.4512C4.91167 21.3366 5.66749 22.0492 6.58054 22.4944C7.15369 22.7738 7.76614 22.8909 8.4619 22.9463C9.13649 23 9.96628 23 10.9932 23H13.0068C14.0337 23 14.8635 23 15.5381 22.9463C16.2339 22.8909 16.8463 22.7738 17.4195 22.4944C18.3325 22.0492 19.0883 21.3366 19.5863 20.4512C19.8989 19.8955 20.0517 19.291 20.1479 18.5997C20.2412 17.9294 20.2899 17.1011 20.3502 16.0761L20.9429 6.00001H22C22.5523 6.00001 23 5.5523 23 5.00001C23 4.44773 22.5523 4.00001 22 4.00001H16.7208L16.4957 3.32484L16.4576 3.21006C16.3016 2.73821 16.1451 2.26511 15.8366 1.89624C15.5682 1.57518 15.2234 1.32667 14.8339 1.17348C14.3864 0.997486 13.8881 0.998656 13.3911 0.999823L13.2702 1.00001H10.7298ZM15.9767 6.00001C15.9921 6.00037 16.0075 6.00037 16.023 6.00001H18.9394L18.3561 15.9171C18.2928 16.9933 18.248 17.742 18.167 18.324C18.0877 18.8941 17.9831 19.2219 17.8431 19.4707C17.5443 20.0019 17.0909 20.4295 16.543 20.6966C16.2864 20.8217 15.953 20.9069 15.3793 20.9526C14.7934 20.9993 14.0434 21 12.9654 21H11.0346C9.95657 21 9.20655 20.9993 8.62073 20.9526C8.04702 20.9069 7.71358 20.8217 7.45697 20.6966C6.90914 20.4295 6.45565 20.0019 6.15686 19.4707C6.01691 19.2219 5.9123 18.8941 5.83298 18.324C5.75199 17.742 5.70721 16.9933 5.64391 15.9171L5.06055 6.00001H7.97696C7.99245 6.00037 8.00791 6.00037 8.02332 6.00001H15.9767ZM14.6126 4.00001L14.5983 3.95729C14.3746 3.28624 14.3338 3.21675 14.3024 3.17926C14.2487 3.11505 14.1798 3.06534 14.1019 3.03471C14.0564 3.01682 13.9775 3.00001 13.2702 3.00001H10.7298C10.0225 3.00001 9.94362 3.01682 9.89814 3.03471C9.82024 3.06534 9.75128 3.11505 9.69758 3.17926C9.66623 3.21675 9.62535 3.28624 9.40167 3.95729L9.38743 4.00001H14.6126Z",fill:"currentColor"})]})),x5=(0,h.i7)(nv()),x3=h.I4.span(nj(),x5),x7=e=>{var{variant:t="subtle"}=e,n=sk(e,["variant"]);return(0,g.jsx)(x3,{children:(0,g.jsx)(x0,Object.assign({role:"progressbar",variant:t},n,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 2A1.5 1.5 0 0 1 12 .5C18.351.5 23.5 5.649 23.5 12S18.351 23.5 12 23.5.5 18.351.5 12a1.5 1.5 0 0 1 3 0A8.5 8.5 0 1 0 12 3.5 1.5 1.5 0 0 1 10.5 2Z",fill:"currentColor"})}))})},x9=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M2 12C2 14.5 5 20 12 20C14.588 20 16.6292 19.2483 18.1742 18.1743L14.1213 14.1213C13.5784 14.6642 12.8284 15 11.9999 15C10.3431 15 8.99991 13.6569 8.99991 12C8.99991 11.1716 9.33571 10.4216 9.87863 9.87866L5.82578 5.82581C3.19179 7.65679 2 10.4243 2 12Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.46967 2.46967C2.76256 2.17678 3.23744 2.17678 3.53033 2.46967L21.5303 20.4697C21.8232 20.7626 21.8232 21.2374 21.5303 21.5303C21.2374 21.8232 20.7626 21.8232 20.4697 21.5303L18.0737 19.1343C16.4783 20.1062 14.4611 20.75 12 20.75C8.28446 20.75 5.5928 19.2834 3.83476 17.4577C2.10654 15.663 1.25 13.485 1.25 12C1.25 10.3097 2.36419 7.67946 4.68861 5.74927L2.46967 3.53033C2.17678 3.23744 2.17678 2.76256 2.46967 2.46967ZM5.75447 6.81513C3.65136 8.50541 2.75 10.7939 2.75 12C2.75 13.015 3.39346 14.837 4.91524 16.4173C6.4072 17.9666 8.71554 19.25 12 19.25C14.0186 19.25 15.6642 18.7655 16.9768 18.0374L14.0679 15.1286C13.4752 15.521 12.7639 15.75 11.9999 15.75C9.92884 15.75 8.24991 14.0711 8.24991 12C8.24991 11.236 8.47892 10.5247 8.87133 9.93199L5.75447 6.81513ZM9.96907 11.0297C9.82845 11.3235 9.74991 11.6523 9.74991 12C9.74991 13.2426 10.7573 14.25 11.9999 14.25C12.3476 14.25 12.6764 14.1715 12.9702 14.0308L9.96907 11.0297Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M12 4.75C10.9651 4.75 10.0305 4.87735 9.19036 5.09792C9.03236 5.1394 8.87761 5.1842 8.72609 5.23211C8.33114 5.35697 7.90975 5.13803 7.78489 4.74309C7.66002 4.34814 7.87897 3.92675 8.27391 3.80189C8.44903 3.74652 8.62754 3.69485 8.80946 3.64709C9.77804 3.3928 10.8409 3.25 12 3.25C15.7155 3.25 18.4072 4.71662 20.1652 6.54227C21.8935 8.33695 22.75 10.515 22.75 12C22.75 13.0899 22.2895 14.5321 21.3966 15.9082C21.2795 16.0887 21.1545 16.2688 21.0215 16.4476C20.7743 16.78 20.3044 16.849 19.9721 16.6018C19.6397 16.3546 19.5707 15.8847 19.8179 15.5524C19.9317 15.3994 20.0385 15.2456 20.1383 15.0918C20.9206 13.886 21.25 12.7242 21.25 12C21.25 10.985 20.6065 9.16305 19.0848 7.58273C17.5928 6.03338 15.2845 4.75 12 4.75Z",fill:"currentColor"})]})),x4=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,fillRule:"evenodd",clipRule:"evenodd",d:"M11.9998 19.9166C18.9269 19.9166 21.8957 14.4739 21.8957 11.9999C21.8957 9.52596 18.9269 4.08325 11.9998 4.08325C5.07275 4.08325 2.104 9.52596 2.104 11.9999C2.104 14.4739 5.07275 19.9166 11.9998 19.9166ZM11.9997 14.9687C13.6393 14.9687 14.9685 13.6395 14.9685 11.9999C14.9685 10.3603 13.6393 9.03117 11.9997 9.03117C10.3602 9.03117 9.031 10.3603 9.031 11.9999C9.031 13.6395 10.3602 14.9687 11.9997 14.9687Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.84619 11.9999C2.84619 10.9954 3.48294 9.19252 4.98888 7.62866C6.4653 6.09546 8.74959 4.82544 11.9998 4.82544C15.2501 4.82544 17.5344 6.09546 19.0108 7.62866C20.5167 9.19252 21.1535 10.9954 21.1535 11.9999C21.1535 13.0044 20.5167 14.8073 19.0108 16.3712C17.5344 17.9044 15.2501 19.1744 11.9998 19.1744C8.74959 19.1744 6.4653 17.9044 4.98888 16.3712C3.48294 14.8073 2.84619 13.0044 2.84619 11.9999ZM11.9998 3.34106C8.323 3.34106 5.65938 4.7924 3.91965 6.59904C2.20944 8.37503 1.36182 10.5304 1.36182 11.9999C1.36182 13.4694 2.20944 15.6248 3.91965 17.4008C5.65938 19.2074 8.323 20.6588 11.9998 20.6588C15.6767 20.6588 18.3403 19.2074 20.08 17.4008C21.7902 15.6248 22.6379 13.4694 22.6379 11.9999C22.6379 10.5304 21.7902 8.37503 20.08 6.59904C18.3403 4.7924 15.6767 3.34106 11.9998 3.34106ZM9.77318 11.9999C9.77318 10.7702 10.7701 9.77336 11.9997 9.77336C13.2294 9.77336 14.2263 10.7702 14.2263 11.9999C14.2263 13.2296 13.2294 14.2265 11.9997 14.2265C10.7701 14.2265 9.77318 13.2296 9.77318 11.9999ZM11.9997 8.28898C9.95025 8.28898 8.28881 9.95042 8.28881 11.9999C8.28881 14.0494 9.95025 15.7109 11.9997 15.7109C14.0492 15.7109 15.7107 14.0494 15.7107 11.9999C15.7107 9.95042 14.0492 8.28898 11.9997 8.28898Z",fill:"currentColor"})]})),x6=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{d:"M6 12H18",stroke:"currentColor",strokeWidth:2.0038,strokeMiterlimit:22.9256,strokeLinecap:"round",strokeLinejoin:"round"})})),x8=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M10 5C10 6.10457 9.10457 7 8 7C6.89543 7 6 6.10457 6 5C6 3.89543 6.89543 3 8 3C9.10457 3 10 3.89543 10 5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M10 12C10 13.1046 9.10457 14 8 14C6.89543 14 6 13.1046 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M10 19C10 20.1046 9.10457 21 8 21C6.89543 21 6 20.1046 6 19C6 17.8954 6.89543 17 8 17C9.10457 17 10 17.8954 10 19Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18 5C18 6.10457 17.1046 7 16 7C14.8954 7 14 6.10457 14 5C14 3.89543 14.8954 3 16 3C17.1046 3 18 3.89543 18 5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18 12C18 13.1046 17.1046 14 16 14C14.8954 14 14 13.1046 14 12C14 10.8954 14.8954 10 16 10C17.1046 10 18 10.8954 18 12Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18 19C18 20.1046 17.1046 21 16 21C14.8954 21 14 20.1046 14 19C14 17.8954 14.8954 17 16 17C17.1046 17 18 17.8954 18 19Z",fill:"currentColor"})]})),be=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C12.5523 4 13 4.44772 13 5V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V5C11 4.44772 11.4477 4 12 4Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29289 11.2929C4.68342 10.9024 5.31658 10.9024 5.70711 11.2929L12 17.5858L18.2929 11.2929C18.6834 10.9024 19.3166 10.9024 19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071L4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929Z",fill:"currentColor"})]})),bt=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C11.4477 20 11 19.5523 11 19L11 5C11 4.44771 11.4477 4 12 4C12.5523 4 13 4.44771 13 5L13 19C13 19.5523 12.5523 20 12 20Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7071 12.7071C19.3166 13.0976 18.6834 13.0976 18.2929 12.7071L12 6.41421L5.70711 12.7071C5.31658 13.0976 4.68342 13.0976 4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071Z",fill:"currentColor"})]})),bn=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12C20 12.5523 19.5523 13 19 13L5 13C4.44771 13 4 12.5523 4 12C4 11.4477 4.44771 11 5 11H19C19.5523 11 20 11.4477 20 12Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7071 4.29289C13.0976 4.68342 13.0976 5.31658 12.7071 5.70711L6.41421 12L12.7071 18.2929C13.0976 18.6834 13.0976 19.3166 12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071L4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289Z",fill:"currentColor"})]})),br=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 12C4 11.4477 4.44772 11 5 11L19 11C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 19.7071C10.9024 19.3166 10.9024 18.6834 11.2929 18.2929L17.5858 12L11.2929 5.70711C10.9024 5.31658 10.9024 4.68342 11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071L12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071Z",fill:"currentColor"})]})),bi=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.53033 2.53033C6.82322 2.23744 6.82322 1.76256 6.53033 1.46967C6.23744 1.17678 5.76256 1.17678 5.46967 1.46967L1.46967 5.46967C1.17678 5.76256 1.17678 6.23744 1.46967 6.53033L5.46967 10.5303C5.76256 10.8232 6.23744 10.8232 6.53033 10.5303C6.82322 10.2374 6.82322 9.76256 6.53033 9.46967L3.81066 6.75H16C16.4142 6.75 16.75 6.41421 16.75 6C16.75 5.58579 16.4142 5.25 16 5.25H3.81066L6.53033 2.53033Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4697 14.5303C17.1768 14.2374 17.1768 13.7626 17.4697 13.4697C17.7626 13.1768 18.2374 13.1768 18.5303 13.4697L22.5303 17.4697C22.8232 17.7626 22.8232 18.2374 22.5303 18.5303L18.5303 22.5303C18.2374 22.8232 17.7626 22.8232 17.4697 22.5303C17.1768 22.2374 17.1768 21.7626 17.4697 21.4697L20.1893 18.75H8C7.58579 18.75 7.25 18.4142 7.25 18C7.25 17.5858 7.58579 17.25 8 17.25H20.1893L17.4697 14.5303Z",fill:"currentColor"})]})),bo=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4C5 3.44772 5.44772 3 6 3H14C15.3261 3 16.5979 3.52678 17.5355 4.46447C18.4732 5.40215 19 6.67392 19 8C19 9.32608 18.4732 10.5979 17.5355 11.5355C17.5025 11.5686 17.4691 11.6011 17.4352 11.6331C17.8352 11.8561 18.206 12.1349 18.5355 12.4645C19.4732 13.4021 20 14.6739 20 16C20 17.3261 19.4732 18.5978 18.5355 19.5355C17.5979 20.4732 16.3261 21 15 21H6C5.44772 21 5 20.5523 5 20V4ZM7 5V11H14C14.7956 11 15.5587 10.6839 16.1213 10.1213C16.6839 9.55871 17 8.79565 17 8C17 7.20435 16.6839 6.44129 16.1213 5.87868C15.5587 5.31607 14.7956 5 14 5H7ZM7 13V19H15C15.7956 19 16.5587 18.6839 17.1213 18.1213C17.6839 17.5587 18 16.7956 18 16C18 15.2043 17.6839 14.4413 17.1213 13.8787C16.5587 13.3161 15.7956 13 15 13H7Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})),bl=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.977 3.00003H10C9.44772 3.00003 9 3.44774 9 4.00003C9 4.55231 9.44772 5.00003 10 5.00003H13.557L8.307 19H5C4.44772 19 4 19.4477 4 20C4 20.5523 4.44772 21 5 21H8.97666C8.99216 21.0004 9.00762 21.0004 9.02304 21H14C14.5523 21 15 20.5523 15 20C15 19.4477 14.5523 19 14 19H10.443L15.693 5.00003H19C19.5523 5.00003 20 4.55231 20 4.00003C20 3.44774 19.5523 3.00003 19 3.00003H15.0233C15.0078 2.99966 14.9924 2.99967 14.977 3.00003Z",fill:"currentColor"})})),ba=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.125 3C5.67728 3 6.125 3.44772 6.125 4V11.3889C6.125 12.8013 6.68969 14.1571 7.69698 15.1578C8.70449 16.1587 10.0724 16.7222 11.5 16.7222C12.9276 16.7222 14.2955 16.1587 15.303 15.1578C16.3103 14.1571 16.875 12.8013 16.875 11.3889V4C16.875 3.44772 17.3227 3 17.875 3C18.4273 3 18.875 3.44772 18.875 4V11.3889C18.875 13.3359 18.0964 15.2019 16.7126 16.5767C15.329 17.9512 13.4539 18.7222 11.5 18.7222C9.54614 18.7222 7.67099 17.9512 6.28741 16.5767C4.90361 15.2019 4.125 13.3359 4.125 11.3889V4C4.125 3.44772 4.57272 3 5.125 3ZM2 23C2 22.4477 2.44772 22 3 22H20C20.5523 22 21 22.4477 21 23C21 23.5523 20.5523 24 20 24H3C2.44772 24 2 23.5523 2 23Z",fill:"currentColor"})})),bs=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M20.3891 4.53914C18.2412 2.39125 14.7588 2.39125 12.6109 4.53914L11.1967 5.95335C10.4286 6.72152 9.93511 7.66039 9.7164 8.64786C8.15775 8.51601 6.55361 9.04642 5.36094 10.2391L3.94673 11.6533C1.79884 13.8012 1.79884 17.2836 3.94673 19.4315C6.09461 21.5794 9.57702 21.5794 11.7249 19.4315L13.1391 18.0173C13.9073 17.2491 14.4007 16.3102 14.6194 15.3227C16.1781 15.4546 17.7822 14.9242 18.9749 13.7315L20.3891 12.3173C22.537 10.1694 22.537 6.68702 20.3891 4.53914Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M20.2462 3.82242C17.8908 1.39253 14.0587 1.39253 11.7033 3.82242L10.9926 4.55558C10.6083 4.95214 10.6181 5.58523 11.0147 5.96962C11.4112 6.35402 12.0443 6.34416 12.4287 5.9476L13.1394 5.21444C14.709 3.59519 17.2405 3.59519 18.8101 5.21444C20.3966 6.85116 20.3966 9.51733 18.8101 11.154L17.1154 12.9024C15.6968 14.3659 13.41 14.3659 11.9914 12.9024L11.718 12.6204C11.3336 12.2238 10.7005 12.214 10.304 12.5984C9.90743 12.9827 9.89757 13.6158 10.282 14.0124L10.5553 14.2944C12.7597 16.5685 16.3471 16.5685 18.5515 14.2944L20.2462 12.5461C22.5846 10.1336 22.5846 6.23485 20.2462 3.82242Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M6.88459 11.0976C8.30322 9.63412 10.59 9.63412 12.0086 11.0976L12.282 11.3796C12.6664 11.7762 13.2995 11.786 13.696 11.4016C14.0926 11.0172 14.1024 10.3842 13.718 9.9876L13.4447 9.70562C11.2403 7.43146 7.65294 7.43146 5.44853 9.70562L3.75383 11.4539C1.41539 13.8664 1.41539 17.7652 3.75383 20.1776C6.1092 22.6075 9.9413 22.6075 12.2967 20.1776L13.0074 19.4444C13.3917 19.0479 13.3819 18.4148 12.9853 18.0304C12.5888 17.646 11.9557 17.6558 11.5713 18.0524L10.8606 18.7856C9.29102 20.4048 6.75949 20.4048 5.18989 18.7856C3.60337 17.1488 3.60337 14.4827 5.18989 12.846L6.88459 11.0976Z",fill:"currentColor"})]})),bu=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z",fill:"currentColor"})})),bc=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M3 5C2.58579 5 2.25 5.33579 2.25 5.75C2.25 6.16421 2.58579 6.5 3 6.5H21C21.4142 6.5 21.75 6.16421 21.75 5.75C21.75 5.33579 21.4142 5 21 5L3 5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M2.25 11.75C2.25 11.3358 2.58579 11 3 11H15C15.4142 11 15.75 11.3358 15.75 11.75C15.75 12.1642 15.4142 12.5 15 12.5H3C2.58579 12.5 2.25 12.1642 2.25 11.75Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M2.25 17.75C2.25 17.3358 2.58579 17 3 17L17 17C17.4142 17 17.75 17.3358 17.75 17.75C17.75 18.1642 17.4142 18.5 17 18.5L3 18.5C2.58579 18.5 2.25 18.1642 2.25 17.75Z",fill:"currentColor"})]})),bd=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M3 5C2.58579 5 2.25 5.33579 2.25 5.75C2.25 6.16421 2.58579 6.5 3 6.5H21C21.4142 6.5 21.75 6.16421 21.75 5.75C21.75 5.33579 21.4142 5 21 5L3 5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M5.25 11.75C5.25 11.3358 5.58579 11 6 11H18C18.4142 11 18.75 11.3358 18.75 11.75C18.75 12.1642 18.4142 12.5 18 12.5H6C5.58579 12.5 5.25 12.1642 5.25 11.75Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M2.25 17.75C2.25 17.3358 2.58579 17 3 17H21C21.4142 17 21.75 17.3358 21.75 17.75C21.75 18.1642 21.4142 18.5 21 18.5H3C2.58579 18.5 2.25 18.1642 2.25 17.75Z",fill:"currentColor"})]})),bp=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M3 5C2.58579 5 2.25 5.33579 2.25 5.75C2.25 6.16421 2.58579 6.5 3 6.5H21C21.4142 6.5 21.75 6.16421 21.75 5.75C21.75 5.33579 21.4142 5 21 5L3 5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M8.25 11.75C8.25 11.3358 8.58579 11 9 11H21C21.4142 11 21.75 11.3358 21.75 11.75C21.75 12.1642 21.4142 12.5 21 12.5H9C8.58579 12.5 8.25 12.1642 8.25 11.75Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M6.25 17.75C6.25 17.3358 6.58579 17 7 17H21C21.4142 17 21.75 17.3358 21.75 17.75C21.75 18.1642 21.4142 18.5 21 18.5H7C6.58579 18.5 6.25 18.1642 6.25 17.75Z",fill:"currentColor"})]})),bh=(0,O.createContext)(null),bg=ua(bh,"Graph"),bf=e=>{var{textColor:t="currentColor"}=e,n=sk(e,["textColor"]);let r=fN(),i=bg(),o=r.values.grey60,l="string"==typeof t&&""!==t.trim()&&"currentColor"!==t;try{l&&(0,F.bJ)(i(t),r.values.grey100)>=1.3&&(o="none")}catch(e){}return(0,g.jsxs)(x0,Object.assign({},n,{children:[(0,g.jsx)("rect",{x:"3",y:"19.7395",width:"18",height:"3.375",rx:"1.125",fill:t,stroke:o,strokeWidth:1}),(0,g.jsx)("path",{d:"M18.75 3.05249C19.3713 3.05249 19.875 3.55617 19.875 4.17749V4.55249C19.8748 5.17366 19.3712 5.67749 18.75 5.67749H13.3125V16.365C13.3122 16.986 12.8086 17.4899 12.1875 17.49H11.8125C11.1913 17.49 10.6878 16.9861 10.6875 16.365V5.67749H5.25C4.62879 5.67749 4.12518 5.17366 4.125 4.55249V4.17749C4.125 3.55617 4.62868 3.05249 5.25 3.05249H18.75Z",fill:"currentColor"})]}))},bm=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5V6L19 6V4.5L5 4.5Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 10L19 10V12.5L5 12.5V10Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 16L19 16V19.5H5V16Z",fill:"currentColor"})]})),by=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C12.5523 4 13 4.44772 13 5V11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H13V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H11V5C11 4.44772 11.4477 4 12 4Z",fill:"currentColor"})})),bx=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.7687 3.21967C8.0616 3.51256 8.0616 3.98744 7.7687 4.28033L5.56066 6.48837H15.0872C18.8729 6.48837 21.9419 9.5573 21.9419 13.343C21.9419 17.1287 18.8729 20.1977 15.0872 20.1977H10.7267C10.3125 20.1977 9.97674 19.8619 9.97674 19.4477C9.97674 19.0335 10.3125 18.6977 10.7267 18.6977H15.0872C18.0445 18.6977 20.4419 16.3003 20.4419 13.343C20.4419 10.3857 18.0445 7.98837 15.0872 7.98837H5.56066L7.7687 10.1964C8.0616 10.4893 8.0616 10.9642 7.7687 11.2571C7.47581 11.55 7.00094 11.55 6.70804 11.2571L3.21967 7.7687C2.92678 7.47581 2.92678 7.00094 3.21967 6.70804L6.70804 3.21967C7.00094 2.92678 7.47581 2.92678 7.7687 3.21967Z",fill:"currentColor"})})),bb=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z",fill:"currentColor"})})),bC=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z",fill:"currentColor"})})),bv=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 6C6.39052 5.60948 7.02369 5.60948 7.41421 6L12 10.5858L16.5858 5.99999C16.9763 5.60946 17.6095 5.60946 18 5.99999C18.3905 6.39051 18.3905 7.02367 18 7.4142L13.4142 12L18 16.5858C18.3905 16.9763 18.3905 17.6095 18 18C17.6095 18.3905 16.9763 18.3905 16.5858 18L12 13.4142L7.4142 18C7.02368 18.3905 6.39051 18.3905 5.99999 18C5.60946 17.6095 5.60946 16.9763 5.99999 16.5858L10.5858 12L6 7.41421C5.60947 7.02369 5.60947 6.39052 6 6Z",fill:"currentColor"})})),bj=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M0 19.28V18.44H0.38C0.646667 18.44 0.86 18.4 1.02 18.32C1.18 18.24 1.32667 18.0867 1.46 17.86C1.59333 17.6333 1.74 17.3067 1.9 16.88L6.34 5H7.9L12.42 17.38C12.5267 17.66 12.64 17.88 12.76 18.04C12.88 18.1867 13.0267 18.2933 13.2 18.36C13.3733 18.4133 13.5867 18.44 13.84 18.44H14.1V19.28H8.6V18.44H9.06C9.46 18.44 9.76 18.3667 9.96 18.22C10.16 18.06 10.26 17.8133 10.26 17.48C10.26 17.4 10.2533 17.3267 10.24 17.26C10.2267 17.18 10.2067 17.1 10.18 17.02C10.1667 16.9267 10.14 16.8333 10.1 16.74L9.3 14.5H4.04L3.28 16.6C3.24 16.7067 3.20667 16.8133 3.18 16.92C3.15333 17.0267 3.13333 17.1267 3.12 17.22C3.10667 17.3 3.1 17.38 3.1 17.46C3.1 17.7933 3.20667 18.04 3.42 18.2C3.64667 18.36 3.98 18.44 4.42 18.44H4.88V19.28H0ZM4.42 13.5H8.94L7.7 10C7.56667 9.6 7.43333 9.22 7.3 8.86C7.18 8.5 7.06667 8.15333 6.96 7.82C6.86667 7.48667 6.78 7.16 6.7 6.84C6.64667 7.08 6.58667 7.31333 6.52 7.54C6.46667 7.76667 6.4 8 6.32 8.24C6.25333 8.46667 6.17333 8.71333 6.08 8.98C6 9.23333 5.9 9.51333 5.78 9.82L4.42 13.5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18.1996 19.48C17.6129 19.48 17.0796 19.3667 16.5996 19.14C16.1329 18.9 15.7662 18.5467 15.4996 18.08C15.2329 17.6 15.0996 17 15.0996 16.28C15.0996 15.2133 15.4729 14.4267 16.2196 13.92C16.9796 13.4133 18.1262 13.1333 19.6596 13.08L21.3196 13.02V11.82C21.3196 11.34 21.2796 10.92 21.1996 10.56C21.1196 10.1867 20.9462 9.89333 20.6796 9.68C20.4129 9.46667 20.0062 9.36 19.4596 9.36C18.9529 9.36 18.5662 9.45333 18.2996 9.64C18.0329 9.82667 17.8529 10.0867 17.7596 10.42C17.6796 10.74 17.6396 11.1133 17.6396 11.54C17.0796 11.54 16.6529 11.4467 16.3596 11.26C16.0796 11.06 15.9396 10.7333 15.9396 10.28C15.9396 9.81333 16.0996 9.44 16.4196 9.16C16.7529 8.88 17.1929 8.68 17.7396 8.56C18.2862 8.42667 18.8862 8.36 19.5396 8.36C20.7662 8.36 21.6796 8.62 22.2796 9.14C22.8929 9.66 23.1996 10.5533 23.1996 11.82V17C23.1996 17.3733 23.2396 17.6667 23.3196 17.88C23.3996 18.08 23.5329 18.2267 23.7196 18.32C23.9062 18.4 24.1462 18.44 24.4396 18.44H24.4996V19.28H21.7996L21.4796 17.56H21.3196C21.0396 17.9333 20.7662 18.2667 20.4996 18.56C20.2329 18.84 19.9196 19.0667 19.5596 19.24C19.2129 19.4 18.7596 19.48 18.1996 19.48ZM18.6596 18.24C19.2062 18.24 19.6729 18.1267 20.0596 17.9C20.4596 17.6733 20.7662 17.3533 20.9796 16.94C21.2062 16.5133 21.3196 16.02 21.3196 15.46V13.84L20.0396 13.9C19.2796 13.9267 18.6796 14.04 18.2396 14.24C17.8129 14.44 17.5062 14.72 17.3196 15.08C17.1329 15.4267 17.0396 15.86 17.0396 16.38C17.0396 16.7933 17.0996 17.14 17.2196 17.42C17.3396 17.6867 17.5196 17.8933 17.7596 18.04C17.9996 18.1733 18.2996 18.24 18.6596 18.24Z",fill:"currentColor"})]})),bA=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M2.38 19H0L5.24 5H7.98L13.2 19H10.74L9.42 15.54H3.68L2.38 19ZM6.54 7.48L4.32 13.58H8.78L6.54 7.48Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M23.5197 17.12H23.9597V19H22.8197C21.5664 19 20.9397 18.4533 20.9397 17.36C20.1664 18.5333 19.0397 19.12 17.5597 19.12C16.4131 19.12 15.4931 18.8533 14.7997 18.32C14.1064 17.7867 13.7597 17.0533 13.7597 16.12C13.7597 15.0667 14.1331 14.26 14.8797 13.7C15.6264 13.1267 16.7131 12.84 18.1397 12.84H20.7197V12.22C20.7197 11.6467 20.5197 11.2 20.1197 10.88C19.7331 10.5467 19.1864 10.38 18.4797 10.38C17.8531 10.38 17.3331 10.52 16.9197 10.8C16.5064 11.0667 16.2597 11.4267 16.1797 11.88H14.0597C14.1664 10.88 14.6197 10.0933 15.4197 9.52C16.2331 8.93333 17.2864 8.64 18.5797 8.64C19.9531 8.64 21.0064 8.96 21.7397 9.6C22.4864 10.24 22.8597 11.16 22.8597 12.36V16.46C22.8597 16.7133 22.9131 16.8867 23.0197 16.98C23.1264 17.0733 23.2931 17.12 23.5197 17.12ZM20.7197 14.8V14.44H18.0397C16.6531 14.44 15.9597 14.9533 15.9597 15.98C15.9597 16.42 16.1264 16.7733 16.4597 17.04C16.8064 17.3067 17.2731 17.44 17.8597 17.44C18.7531 17.44 19.4464 17.2 19.9397 16.72C20.4464 16.24 20.7064 15.6 20.7197 14.8Z",fill:"currentColor"})]})),bw=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M2.32955 19.5455H0L5.23438 5H7.76989L13.0043 19.5455H10.6747L6.5625 7.64205H6.44886L2.32955 19.5455ZM2.72017 13.8494H10.277V15.696H2.72017V13.8494Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18.107 19.7869C17.4157 19.7869 16.7907 19.6591 16.232 19.4034C15.6733 19.143 15.2306 18.7666 14.9039 18.2741C14.5819 17.7817 14.4209 17.178 14.4209 16.4631C14.4209 15.8475 14.5393 15.3409 14.7761 14.9432C15.0128 14.5455 15.3324 14.2306 15.7349 13.9986C16.1373 13.7666 16.5871 13.5914 17.0843 13.473C17.5815 13.3546 18.0881 13.2647 18.6042 13.2031C19.2576 13.1274 19.7879 13.0658 20.1951 13.0185C20.6023 12.9664 20.8982 12.8835 21.0829 12.7699C21.2675 12.6563 21.3599 12.4716 21.3599 12.2159V12.1662C21.3599 11.5459 21.1847 11.0653 20.8343 10.7244C20.4886 10.3835 19.9726 10.2131 19.286 10.2131C18.571 10.2131 18.0076 10.3717 17.5957 10.6889C17.1885 11.0014 16.9067 11.3494 16.7505 11.733L14.7547 11.2784C14.9915 10.6155 15.3371 10.0805 15.7917 9.6733C16.251 9.26136 16.7789 8.96307 17.3755 8.77841C17.9721 8.58902 18.5994 8.49432 19.2576 8.49432C19.6932 8.49432 20.1548 8.5464 20.6425 8.65057C21.135 8.75 21.5942 8.93466 22.0204 9.20455C22.4512 9.47443 22.804 9.86032 23.0786 10.3622C23.3532 10.8594 23.4905 11.5057 23.4905 12.3011V19.5455H21.4167V18.054H21.3315C21.1941 18.3286 20.9882 18.5985 20.7136 18.8636C20.4389 19.1288 20.0862 19.349 19.6553 19.5241C19.2244 19.6993 18.7083 19.7869 18.107 19.7869ZM18.5687 18.0824C19.1558 18.0824 19.6577 17.9664 20.0744 17.7344C20.4958 17.5024 20.8154 17.1993 21.0332 16.8253C21.2557 16.4465 21.367 16.0417 21.367 15.6108V14.2045C21.2912 14.2803 21.1444 14.3513 20.9266 14.4176C20.7136 14.4792 20.4697 14.5336 20.1951 14.581C19.9205 14.6236 19.6529 14.6638 19.3925 14.7017C19.1321 14.7348 18.9143 14.7633 18.7391 14.7869C18.3272 14.839 17.9508 14.9266 17.6099 15.0497C17.2737 15.1728 17.0038 15.3504 16.8002 15.5824C16.6013 15.8097 16.5019 16.1127 16.5019 16.4915C16.5019 17.017 16.696 17.4148 17.0843 17.6847C17.4726 17.9498 17.9673 18.0824 18.5687 18.0824Z",fill:"currentColor"})]})),bk=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M6.788 19.3735C5.73033 19.3735 4.84367 19.1297 4.128 18.642C3.41867 18.148 2.88667 17.369 2.532 16.305C2.17733 15.2347 2 13.835 2 12.106C2 10.4023 2.17733 9.03117 2.532 7.9925C2.88667 6.9475 3.41867 6.1875 4.128 5.7125C4.84367 5.2375 5.73033 5 6.788 5C7.852 5 8.73867 5.2375 9.448 5.7125C10.1573 6.1875 10.6893 6.9475 11.044 7.9925C11.3987 9.03117 11.576 10.4023 11.576 12.106C11.576 13.835 11.3987 15.2347 11.044 16.305C10.6893 17.369 10.1573 18.148 9.448 18.642C8.73867 19.1297 7.852 19.3735 6.788 19.3735ZM6.788 17.7965C7.27567 17.7965 7.70633 17.7047 8.08 17.521C8.46 17.3373 8.77667 17.0302 9.03 16.5995C9.28333 16.1688 9.47333 15.5893 9.6 14.861C9.733 14.1263 9.7995 13.208 9.7995 12.106C9.7995 11.023 9.733 10.1268 9.6 9.4175C9.47333 8.70183 9.28017 8.13817 9.0205 7.7265C8.76717 7.3085 8.45367 7.014 8.08 6.843C7.70633 6.66567 7.27567 6.577 6.788 6.577C6.30033 6.577 5.86967 6.66567 5.496 6.843C5.12233 7.014 4.80567 7.3085 4.546 7.7265C4.29267 8.13817 4.0995 8.70183 3.9665 9.4175C3.83983 10.1268 3.7765 11.023 3.7765 12.106C3.7765 13.208 3.83983 14.1263 3.9665 14.861C4.0995 15.5893 4.29267 16.1688 4.546 16.5995C4.80567 17.0302 5.12233 17.3373 5.496 17.521C5.86967 17.7047 6.30033 17.7965 6.788 17.7965ZM6.788 13.455C6.45233 13.4487 6.21167 13.3347 6.066 13.113C5.92667 12.885 5.857 12.562 5.857 12.144C5.857 11.7323 5.92667 11.4125 6.066 11.1845C6.21167 10.9565 6.45233 10.8425 6.788 10.8425C7.12367 10.8425 7.36117 10.9565 7.5005 11.1845C7.64617 11.4125 7.719 11.7323 7.719 12.144C7.719 12.562 7.64617 12.885 7.5005 13.113C7.36117 13.3347 7.12367 13.4487 6.788 13.455Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M18.1787 19.3735C17.121 19.3735 16.2343 19.1297 15.5187 18.642C14.8093 18.148 14.2773 17.369 13.9227 16.305C13.568 15.2347 13.3907 13.835 13.3907 12.106C13.3907 10.4023 13.568 9.03117 13.9227 7.9925C14.2773 6.9475 14.8093 6.1875 15.5187 5.7125C16.2343 5.2375 17.121 5 18.1787 5C19.2427 5 20.1293 5.2375 20.8387 5.7125C21.548 6.1875 22.08 6.9475 22.4347 7.9925C22.7893 9.03117 22.9667 10.4023 22.9667 12.106C22.9667 13.835 22.7893 15.2347 22.4347 16.305C22.08 17.369 21.548 18.148 20.8387 18.642C20.1293 19.1297 19.2427 19.3735 18.1787 19.3735ZM18.1787 17.7965C18.6663 17.7965 19.097 17.7047 19.4707 17.521C19.8507 17.3373 20.1673 17.0302 20.4207 16.5995C20.674 16.1688 20.864 15.5893 20.9907 14.861C21.1237 14.1263 21.1902 13.208 21.1902 12.106C21.1902 11.023 21.1237 10.1268 20.9907 9.4175C20.864 8.70183 20.6708 8.13817 20.4112 7.7265C20.1578 7.3085 19.8443 7.014 19.4707 6.843C19.097 6.66567 18.6663 6.577 18.1787 6.577C17.691 6.577 17.2603 6.66567 16.8867 6.843C16.513 7.014 16.1963 7.3085 15.9367 7.7265C15.6833 8.13817 15.4902 8.70183 15.3572 9.4175C15.2305 10.1268 15.1672 11.023 15.1672 12.106C15.1672 13.208 15.2305 14.1263 15.3572 14.861C15.4902 15.5893 15.6833 16.1688 15.9367 16.5995C16.1963 17.0302 16.513 17.3373 16.8867 17.521C17.2603 17.7047 17.691 17.7965 18.1787 17.7965ZM18.1787 13.455C17.843 13.4487 17.6023 13.3347 17.4567 13.113C17.3173 12.885 17.2477 12.562 17.2477 12.144C17.2477 11.7323 17.3173 11.4125 17.4567 11.1845C17.6023 10.9565 17.843 10.8425 18.1787 10.8425C18.5143 10.8425 18.7518 10.9565 18.8912 11.1845C19.0368 11.4125 19.1097 11.7323 19.1097 12.144C19.1097 12.562 19.0368 12.885 18.8912 13.113C18.7518 13.3347 18.5143 13.4487 18.1787 13.455Z",fill:"currentColor"})]})),bS=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M1 16.1935L1.22491 16.0205L1.24221 15.6572C1.53055 14.9536 1.82466 14.2789 2.12454 13.633C2.43595 12.9871 2.75889 12.3239 3.09337 11.6434C3.19718 11.4243 3.30098 11.2051 3.40478 10.986C3.52012 10.7669 3.62969 10.542 3.73349 10.3113C3.72196 10.2651 3.71619 10.219 3.71619 10.1729C3.71619 10.1152 3.72773 10.0518 3.75079 9.98257C3.91227 9.7519 4.03914 9.54429 4.13141 9.35975C4.23521 9.17521 4.33325 8.9849 4.42552 8.78883C4.52932 8.55816 4.63889 8.32748 4.75423 8.09681C4.8811 7.86613 5.03681 7.64122 5.22135 7.42208L5.34245 7.24908L5.53276 7.26638C5.57889 7.24331 5.62503 7.22601 5.67116 7.21448C5.72883 7.19141 5.79803 7.17988 5.87877 7.17988L6.19018 7.23178C6.57079 7.05877 6.90527 6.8108 7.19361 6.48785C7.49349 6.15337 7.79337 5.75546 8.09325 5.29411L8.30085 5L8.57766 5.17301C8.63533 5.20761 8.7276 5.24221 8.85447 5.27681C8.98134 5.31141 9.11398 5.35178 9.25239 5.39791C9.49459 5.45558 9.73103 5.52478 9.96171 5.60552C10.1924 5.67472 10.3712 5.77276 10.498 5.89963L10.5845 6.05534C10.6076 6.18221 10.6249 6.29754 10.6364 6.40135C10.6595 6.50515 10.6826 6.60896 10.7056 6.71276C10.7518 6.95497 10.7921 7.19718 10.8267 7.43938C10.8613 7.67006 10.8844 7.92957 10.8959 8.21791C10.9536 8.44859 11.0055 8.68503 11.0516 8.92724C11.1093 9.15791 11.1612 9.38858 11.2074 9.61926C11.265 9.95374 11.3285 10.2767 11.3977 10.5881C11.4669 10.888 11.5591 11.1763 11.6745 11.4531C11.7898 11.4531 11.859 11.4589 11.8821 11.4704C12.0205 11.4128 12.182 11.3782 12.3665 11.3666L12.5914 11.3493L12.6606 11.5569C12.6837 11.5915 12.7125 11.6261 12.7471 11.6607C12.7817 11.6953 12.8221 11.7299 12.8682 11.7645C13.0527 11.7761 13.1854 11.8164 13.2661 11.8856C13.3584 11.9433 13.4334 12.001 13.491 12.0586C13.5141 12.0817 13.5429 12.1105 13.5775 12.1451C13.6121 12.1682 13.641 12.1855 13.664 12.197L13.9754 12.3182L13.8024 12.6469C13.6756 12.8891 13.4795 13.1255 13.2142 13.3562C12.9605 13.5869 12.6721 13.7772 12.3492 13.9271C12.3723 14.0078 12.3838 14.0828 12.3838 14.152C12.3953 14.2212 12.4126 14.302 12.4357 14.3942C12.4818 14.6249 12.5164 14.8671 12.5395 15.1208C12.5741 15.3631 12.5741 15.6168 12.5395 15.8821C12.4242 16.182 12.2858 16.453 12.1243 16.6952C11.9743 16.9259 11.7898 17.1393 11.5707 17.3353C11.3631 17.5199 11.1266 17.6756 10.8613 17.8024C10.5961 17.9178 10.3193 17.9812 10.0309 17.9927C9.86944 17.9581 9.74834 17.9178 9.6676 17.8716C9.5984 17.8255 9.53496 17.7794 9.47729 17.7332C9.38502 17.664 9.31005 17.6179 9.25239 17.5948L9.02748 17.491L9.09668 17.2315C9.13128 17.1393 9.12551 17.0585 9.07938 16.9893C9.04478 16.9201 8.96404 16.8278 8.83717 16.7125C8.79104 16.6779 8.75067 16.6433 8.71607 16.6087C8.68147 16.5626 8.6411 16.5164 8.59496 16.4703L8.24895 16.0724L8.81987 15.9167C9.16588 15.8244 9.39656 15.7091 9.51189 15.5707C9.62723 15.4207 9.67337 15.1612 9.6503 14.7921C9.36196 14.7345 9.12551 14.7287 8.94097 14.7748C8.75643 14.8094 8.57189 14.8498 8.38735 14.8959C8.12208 14.9651 7.86257 15.0286 7.60883 15.0862C7.35509 15.1324 7.07828 15.1555 6.7784 15.1555C6.58233 15.1555 6.37472 15.1382 6.15558 15.1035L5.96527 15.0862L5.91337 14.8959C5.91337 14.8729 5.89607 14.8498 5.86147 14.8267C5.8384 14.7921 5.81533 14.7633 5.79227 14.7402C5.7346 14.671 5.66539 14.5788 5.58466 14.4634C5.50392 14.3481 5.48662 14.2039 5.53276 14.0309C5.45202 13.904 5.40589 13.7714 5.39435 13.633C5.34822 13.7253 5.30785 13.8175 5.27325 13.9098C5.25018 13.9905 5.22711 14.0713 5.20405 14.152L5.13484 14.3769L4.90993 14.4115C4.88687 14.4346 4.8638 14.4692 4.84073 14.5153C4.8292 14.5615 4.8292 14.5961 4.84073 14.6191L4.90993 14.8094L4.73693 14.9651C4.71386 14.9997 4.68503 15.0286 4.65043 15.0516C4.61582 15.0747 4.58699 15.0978 4.56392 15.1208C4.54086 15.2477 4.50625 15.3688 4.46012 15.4842C4.42552 15.5995 4.38515 15.7148 4.33902 15.8302C4.28135 16.0147 4.22368 16.1935 4.16601 16.3665C4.11987 16.5395 4.09681 16.7125 4.09681 16.8855L4.0276 17.1104C3.96994 17.2027 3.89497 17.2719 3.8027 17.318C3.72196 17.3642 3.64122 17.4045 3.56049 17.4391C3.44515 17.4853 3.36441 17.5314 3.31828 17.5775L3.26638 17.8024L3.00687 17.837C2.85693 17.8716 2.74736 17.8947 2.67816 17.9062C2.62049 17.9178 2.55129 17.9235 2.47055 17.9235L2.24564 17.9062C2.10724 17.7678 1.9919 17.664 1.89963 17.5948C1.81889 17.5141 1.72086 17.4449 1.60552 17.3872L1.50172 17.2488C1.45558 17.1566 1.42675 17.0758 1.41521 17.0066C1.40368 16.9259 1.38638 16.8451 1.36331 16.7644C1.34025 16.6145 1.30564 16.5107 1.25951 16.453L1 16.1935ZM6.51889 11.6953C6.35742 11.926 6.20171 12.1682 6.05177 12.422C6.13251 12.4104 6.20748 12.4047 6.27668 12.4047C6.35742 12.4047 6.43815 12.3989 6.51889 12.3874C6.92257 12.3643 7.29742 12.3355 7.64343 12.3009C7.98944 12.2663 8.36429 12.2086 8.76797 12.1278C8.6757 11.7011 8.57189 11.2686 8.45656 10.8303C8.35275 10.3805 8.23742 9.93067 8.11055 9.48085L8.02404 9.65386C7.7357 9.96527 7.45889 10.2997 7.19361 10.6573C6.92834 11.0148 6.7092 11.3551 6.53619 11.678L6.51889 11.6953Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M23.0392 16.3838C22.97 16.5799 22.8662 16.7817 22.7278 16.9893C22.6009 17.1854 22.4452 17.3642 22.2607 17.5256C22.0877 17.6756 21.8916 17.8024 21.6724 17.9062C21.4533 18.01 21.2226 18.0677 20.9804 18.0793C20.8305 18.0447 20.7267 18.0043 20.669 17.9581C20.6229 17.9235 20.571 17.8889 20.5133 17.8543C20.4787 17.8313 20.4441 17.814 20.4095 17.8024C20.3864 17.7794 20.3634 17.7621 20.3403 17.7505L20.1327 17.664L20.2019 17.4391C20.225 17.3469 20.2192 17.2777 20.1846 17.2315C20.15 17.1739 20.0808 17.0989 19.977 17.0066C19.9424 16.972 19.9078 16.9374 19.8732 16.9028C19.8386 16.8682 19.8097 16.8336 19.7867 16.799L19.4926 16.4703L19.9597 16.3492C20.248 16.2685 20.4383 16.1647 20.5306 16.0378C20.6344 15.9109 20.6748 15.6975 20.6517 15.3977C20.421 15.3515 20.225 15.3458 20.0635 15.3804C19.9135 15.415 19.7578 15.4553 19.5964 15.5015C19.3888 15.5591 19.1754 15.611 18.9562 15.6572C18.7486 15.6918 18.518 15.7091 18.2642 15.7091C18.172 15.7091 18.0855 15.7091 18.0047 15.7091C17.924 15.6975 17.8375 15.686 17.7452 15.6745L17.5722 15.6399C17.5491 15.513 17.5261 15.4438 17.503 15.4323C17.4799 15.4092 17.4569 15.3861 17.4338 15.3631C17.3761 15.3054 17.3127 15.2304 17.2435 15.1382C17.1858 15.0343 17.1743 14.9075 17.2089 14.7575C17.1512 14.6537 17.1166 14.5499 17.1051 14.4461C17.0359 14.5845 16.984 14.7287 16.9494 14.8786L16.8802 15.0516L16.7072 15.0862C16.6841 15.0978 16.6668 15.1266 16.6553 15.1728C16.6437 15.2074 16.638 15.2362 16.638 15.2593L16.5515 15.5534C16.5284 15.5764 16.5053 15.5995 16.4823 15.6226C16.4592 15.6341 16.4361 15.6514 16.4131 15.6745C16.39 15.7783 16.3612 15.8821 16.3266 15.9859C16.292 16.0897 16.2574 16.1877 16.2228 16.28C16.1651 16.4299 16.1132 16.5799 16.067 16.7298C16.0324 16.8682 16.0209 17.0066 16.0324 17.145L15.9632 17.3353C15.9056 17.4045 15.8421 17.4622 15.7729 17.5083C15.7037 17.5429 15.6345 17.5775 15.5653 17.6121C15.5423 17.6352 15.5077 17.6583 15.4615 17.6813C15.4269 17.6929 15.3981 17.7044 15.375 17.7159L15.3231 17.9062L15.1155 17.9408C14.9886 17.9639 14.8964 17.9812 14.8387 17.9927C14.7926 18.0043 14.7349 18.01 14.6657 18.01L14.4927 17.9927C14.3658 17.8889 14.2678 17.8082 14.1986 17.7505C14.1294 17.6813 14.0486 17.6179 13.9564 17.5602C13.8526 17.4218 13.7949 17.318 13.7834 17.2488C13.7718 17.1796 13.7603 17.1162 13.7488 17.0585C13.7257 16.9893 13.7142 16.9316 13.7142 16.8855C13.7026 16.8394 13.6853 16.8048 13.6623 16.7817L13.4374 16.5741L13.6277 16.4184L13.645 16.1243C13.8756 15.5361 14.1178 14.9709 14.3716 14.4288C14.6369 13.8867 14.9079 13.3331 15.1847 12.768C15.277 12.5834 15.3635 12.3989 15.4442 12.2143C15.5365 12.0298 15.6288 11.8453 15.721 11.6607C15.7095 11.6261 15.7037 11.5858 15.7037 11.5396C15.7037 11.4935 15.7153 11.4416 15.7383 11.3839C15.8652 11.1878 15.969 11.0148 16.0497 10.8649C16.1305 10.7034 16.2112 10.542 16.292 10.3805C16.3842 10.1844 16.4765 9.99411 16.5688 9.80957C16.6726 9.62503 16.7994 9.43472 16.9494 9.23865L17.2262 9.11754C17.2608 9.10601 17.3012 9.09447 17.3473 9.08294C17.3934 9.05987 17.4453 9.04834 17.503 9.04834L17.7625 9.08294C18.0855 8.933 18.368 8.7254 18.6102 8.46012C18.8524 8.18331 19.1004 7.8546 19.3542 7.47399L19.5272 7.23178L19.7521 7.37018C19.8097 7.40478 19.8905 7.43938 19.9943 7.47399C20.0981 7.49705 20.2077 7.52589 20.323 7.56049C20.5306 7.60662 20.7267 7.65852 20.9112 7.71619C21.0958 7.77386 21.2457 7.86037 21.361 7.9757C21.4302 8.16024 21.4706 8.29865 21.4821 8.39092C21.4937 8.48319 21.511 8.57546 21.534 8.66773C21.5686 8.8638 21.5975 9.05987 21.6205 9.25595C21.6551 9.45202 21.6782 9.67116 21.6897 9.91337C21.7474 10.1094 21.7935 10.3055 21.8281 10.5016C21.8743 10.6861 21.9147 10.8764 21.9493 11.0725C22.0069 11.3493 22.0646 11.6204 22.1223 11.8856C22.1799 12.1394 22.2549 12.3816 22.3472 12.6123C22.4394 12.6123 22.4971 12.618 22.5202 12.6296C22.5778 12.6065 22.6355 12.5892 22.6932 12.5777C22.7624 12.5661 22.8374 12.5546 22.9181 12.5431L23.1084 12.5258L23.1776 12.6988C23.1891 12.7564 23.2468 12.8141 23.3506 12.8718C23.5005 12.8833 23.6101 12.9179 23.6793 12.9756C23.7485 13.0217 23.812 13.0736 23.8696 13.1313C23.9158 13.1774 23.9619 13.212 24.008 13.2351L24.2675 13.3389L24.1291 13.5984C24.0138 13.806 23.8466 14.0078 23.6274 14.2039C23.4198 14.3885 23.1834 14.5442 22.9181 14.671C22.9296 14.7402 22.9354 14.8094 22.9354 14.8786C22.9469 14.9363 22.9642 14.9997 22.9873 15.0689C23.0219 15.265 23.0507 15.4669 23.0738 15.6745C23.0969 15.8821 23.0969 16.0954 23.0738 16.3146L23.0392 16.3838ZM18.0393 13.3908C18.3853 13.3677 18.6967 13.3447 18.9736 13.3216C19.2619 13.287 19.5791 13.2351 19.9251 13.1659C19.8443 12.8199 19.7578 12.4623 19.6656 12.0932C19.5733 11.7126 19.4753 11.3378 19.3715 10.9687L19.2677 11.1417C19.037 11.3839 18.8121 11.655 18.5929 11.9548C18.3853 12.2547 18.2066 12.5373 18.0566 12.8026C17.9874 12.9064 17.9182 13.0102 17.849 13.114C17.7798 13.2178 17.7164 13.3216 17.6587 13.4254C17.7279 13.4139 17.7913 13.4081 17.849 13.4081C17.9182 13.4081 17.9816 13.4023 18.0393 13.3908Z",fill:"currentColor"})]})),bP=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M17.6009 13.7718C16.9702 14.7412 16.4323 15.6241 15.8572 16.4897C15.3749 17.1994 14.8741 17.4245 14.2063 17.2514C13.4457 17.0609 12.982 16.5243 13.0005 15.728C13.0005 14.4123 13.3344 13.1485 13.8353 11.9194C14.5031 10.3441 15.3564 8.85529 16.4694 7.505C16.9331 6.93372 17.267 6.88178 18.0461 7.17608C18.6583 7.41844 18.8994 7.79929 18.7881 8.43982C18.7325 8.76874 18.6583 9.11497 18.5099 9.42657C18.4542 9.58238 18.1574 9.79011 18.0647 9.75549C17.8421 9.66893 17.5824 9.47851 17.5082 9.28808C17.434 9.06303 17.5453 8.78605 17.5824 8.54369C16.4879 9.34002 14.8555 13.0274 14.7813 15.1221C15.2636 14.3603 15.7645 13.6333 16.2097 12.8542C16.5807 12.231 16.896 11.5732 17.2485 10.9154C17.2856 10.8461 17.3227 10.7249 17.3598 10.7249C17.7679 10.7596 18.2131 10.7422 18.6026 10.8634C18.8067 10.9327 19.0293 11.2097 19.0664 11.4174C19.3075 13.1139 19.493 14.8104 19.7156 16.507C19.7713 16.8013 19.864 17.0783 19.9568 17.3725C20.0866 17.7534 19.9197 17.9438 19.5116 17.9958C18.9551 18.0477 18.3615 17.6149 18.2687 17.1129C18.0461 16.0396 17.8421 14.9489 17.6009 13.7718Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M8.51335 8.78701C8.43655 8.76919 8.37894 8.76919 8.32134 8.76919C7.53408 10.9247 6.78522 13.098 6.30519 15.4139C7.15005 15.2001 7.8605 15.0042 8.60936 14.8616C9.05099 14.7904 9.1278 14.6122 9.07019 14.2381C8.95498 13.4721 8.89738 12.7061 8.82057 11.9579C8.70537 10.8891 8.60936 9.83804 8.51335 8.78701ZM9.26221 15.877C8.26373 16.1977 7.32286 16.4827 6.40119 16.8212C6.20918 16.8925 6.05557 17.1419 5.99796 17.32C5.90196 17.6585 5.90196 18.0147 5.86355 18.371C5.82515 18.8342 5.55633 19.0123 5.07629 18.9055C4.23143 18.7273 3.98181 18.4245 4.00101 17.6407C4.07782 15.7167 4.53865 13.864 5.1339 12.0292C5.88275 9.69553 6.74682 7.3975 7.55328 5.08166C7.74529 4.52942 7.95651 3.995 8.12932 3.42494C8.26373 2.96178 8.53255 2.92615 8.97418 3.08647C9.72304 3.35369 10.0495 3.72778 10.0879 4.54724C10.2223 7.6469 10.4911 10.7466 10.7407 13.8284C10.7983 14.6122 11.0863 15.3426 11.1439 16.1443C11.24 17.5694 11.6624 18.9589 11.9696 20.3484C12.0848 20.8828 11.8736 21.0788 11.3168 20.9719C10.5871 20.8472 10.2991 20.5087 10.1455 19.814C9.87665 18.5314 9.56943 17.2487 9.26221 15.877Z",fill:"currentColor"})]})),bL=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 5.75C4.5 5.05964 5.05964 4.5 5.75 4.5H18.25C18.9404 4.5 19.5 5.05964 19.5 5.75V8.09375C19.5 8.78411 18.9404 9.34375 18.25 9.34375C17.5596 9.34375 17 8.78411 17 8.09375V7H13.25V17H14.3438C15.0341 17 15.5938 17.5596 15.5938 18.25C15.5938 18.9404 15.0341 19.5 14.3438 19.5H9.65625C8.96589 19.5 8.40625 18.9404 8.40625 18.25C8.40625 17.5596 8.96589 17 9.65625 17H10.75V7H7V8.09375C7 8.78411 6.44036 9.34375 5.75 9.34375C5.05964 9.34375 4.5 8.78411 4.5 8.09375V5.75Z",fill:"currentColor"})})),bM=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M8.19299 15.5L9.19299 9H15.193L14.193 14.5L8.19299 15.5Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.80342 2.00608C10.3523 2.06707 10.7479 2.56149 10.6869 3.1104L10.1436 7.99997H14.1313L14.6991 2.88953C14.7601 2.34063 15.2545 1.94509 15.8034 2.00608C16.3523 2.06707 16.7479 2.56149 16.6869 3.1104L16.1436 7.99997H20.693C21.2453 7.99997 21.693 8.44768 21.693 8.99997C21.693 9.55225 21.2453 9.99997 20.693 9.99997H15.9214L15.4769 14H19.693C20.2453 14 20.693 14.4477 20.693 15C20.693 15.5523 20.2453 16 19.693 16H15.2547L14.6869 21.1104C14.6259 21.6593 14.1315 22.0548 13.5826 21.9938C13.0337 21.9329 12.6381 21.4384 12.6991 20.8895L13.2424 16H9.2547L8.68688 21.1104C8.62589 21.6593 8.13147 22.0548 7.58256 21.9938C7.03365 21.9329 6.63812 21.4384 6.69911 20.8895L7.24239 16H1.69299C1.14071 16 0.692993 15.5523 0.692993 15C0.692993 14.4477 1.14071 14 1.69299 14H7.46462L7.90906 9.99997H2.69299C2.14071 9.99997 1.69299 9.55225 1.69299 8.99997C1.69299 8.44768 2.14071 7.99997 2.69299 7.99997H8.13128L8.69911 2.88953C8.7601 2.34063 9.25452 1.94509 9.80342 2.00608ZM9.92137 9.99997L9.47692 14H13.4646L13.9091 9.99997H9.92137Z",fill:"currentColor"})]})),bO=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsxs)("g",{opacity:.12,children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.69298 4C8.34814 4 9.69299 5.34482 9.69299 6.99998C9.69299 8.65515 8.34814 10 6.69298 10C5.03781 10 3.69299 8.65515 3.69299 6.99998C3.69299 5.34482 5.03781 4 6.69298 4Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.693 14C18.3482 14 19.693 15.3448 19.693 17C19.693 18.6552 18.3482 20 16.693 20C15.0379 20 13.6931 18.6552 13.6931 17C13.6827 15.3448 15.0275 14 16.693 14Z",fill:"currentColor"})]}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.69304 5C5.59016 5 4.69305 5.8971 4.69305 6.99998C4.69305 8.10288 5.59017 9 6.69304 9C7.79592 9 8.69305 8.10287 8.69305 6.99998C8.69305 5.89712 7.79593 5 6.69304 5ZM2.69305 6.99998C2.69305 4.79253 4.48559 3 6.69304 3C8.90048 3 10.6931 4.79252 10.6931 6.99998C10.6931 9.20744 8.90049 11 6.69304 11C4.48557 11 2.69305 9.20742 2.69305 6.99998ZM17.9859 4.29289C18.3765 3.90237 19.0096 3.90237 19.4002 4.29289C19.7907 4.68342 19.7907 5.31658 19.4002 5.70711L5.40016 19.7071C5.00964 20.0976 4.37647 20.0976 3.98595 19.7071C3.59542 19.3166 3.59542 18.6834 3.98595 18.2929L17.9859 4.29289ZM16.6931 15C15.5764 15 14.6863 15.8992 14.6931 16.9938L14.6931 17C14.6931 18.1029 15.5902 19 16.6931 19C17.796 19 18.6931 18.1029 18.6931 17C18.6931 15.8971 17.796 15 16.6931 15ZM12.6931 17.0031C12.681 14.7888 14.4798 13 16.6931 13C18.9005 13 20.6931 14.7926 20.6931 17C20.6931 19.2074 18.9005 21 16.6931 21C14.4867 21 12.6948 19.2092 12.6931 17.0031Z",fill:"currentColor"})]})),bT=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 25 24",fill:"none"},e,{children:[(0,g.jsx)("rect",{opacity:.12,x:2.69299,y:2,width:20,height:20,rx:10,fill:"currentColor"}),(0,g.jsx)("path",{d:"M13.693 8C13.693 7.44772 13.2453 7 12.693 7C12.1407 7 11.693 7.44772 11.693 8V12C11.693 12.3344 11.8601 12.6466 12.1383 12.8321L15.1383 14.8321C15.5978 15.1384 16.2187 15.0142 16.525 14.5547C16.8314 14.0952 16.7072 13.4743 16.2477 13.1679L13.693 11.4648V8Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.693 1C6.61786 1 1.69299 5.92487 1.69299 12C1.69299 18.0751 6.61786 23 12.693 23C18.7681 23 23.693 18.0751 23.693 12C23.693 5.92487 18.7681 1 12.693 1ZM3.69299 12C3.69299 7.02944 7.72243 3 12.693 3C17.6636 3 21.693 7.02944 21.693 12C21.693 16.9706 17.6636 21 12.693 21C7.72243 21 3.69299 16.9706 3.69299 12Z",fill:"currentColor"})]})),bD=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 25 24",fill:"none"},e,{children:[(0,g.jsx)("rect",{opacity:.12,x:2.69296,y:2,width:20,height:20,rx:6,fill:"currentColor",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),(0,g.jsx)("path",{d:"M6.69296 8C6.69296 7.44772 7.14068 7 7.69296 7H17.693C18.2452 7 18.693 7.44772 18.693 8C18.693 8.55229 18.2452 9 17.693 9H7.69296C7.14068 9 6.69296 8.55229 6.69296 8Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M15.693 16C15.1407 16 14.693 16.4477 14.693 17C14.693 17.5523 15.1407 18 15.693 18H17.693C18.2452 18 18.693 17.5523 18.693 17C18.693 16.4477 18.2452 16 17.693 16H15.693Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.69296 0C9.24525 0 9.69296 0.447715 9.69296 1V1.01729C10.4373 0.999992 11.2826 0.999996 12.2485 1H13.1374C14.1033 0.999996 14.9486 0.999992 15.693 1.01729V1C15.693 0.447715 16.1407 0 16.693 0C17.2452 0 17.693 0.447715 17.693 1V1.14441C18.5062 1.24729 19.2153 1.42893 19.8709 1.76295C21.188 2.43407 22.2589 3.50493 22.93 4.82207C23.3408 5.62827 23.5211 6.51543 23.6079 7.57778C23.693 8.61909 23.693 9.91303 23.693 11.5556V12.4444C23.693 14.087 23.693 15.3809 23.6079 16.4222C23.5211 17.4846 23.3408 18.3717 22.93 19.1779C22.2589 20.4951 21.188 21.5659 19.8709 22.237C19.0647 22.6478 18.1775 22.8281 17.1152 22.9149C16.0739 23 14.7799 23 13.1374 23H12.2485C10.606 23 9.31205 23 8.27074 22.9149C7.20839 22.8281 6.32123 22.6478 5.51503 22.237C4.19789 21.5659 3.12703 20.4951 2.45592 19.1779C2.04514 18.3717 1.86483 17.4846 1.77803 16.4222C1.69295 15.3809 1.69296 14.087 1.69296 12.4444V11.5556C1.69296 9.91305 1.69295 8.61909 1.77803 7.57778C1.86483 6.51543 2.04514 5.62827 2.45592 4.82207C3.12703 3.50493 4.19789 2.43407 5.51503 1.76295C6.17059 1.42893 6.87968 1.24729 7.69296 1.14441V1C7.69296 0.447715 8.14068 0 8.69296 0ZM15.693 3.01778V4C15.693 4.55229 16.1407 5 16.693 5C17.2452 5 17.693 4.55228 17.693 4V3.16428C18.2286 3.24911 18.6252 3.37287 18.9629 3.54497C19.9037 4.02433 20.6686 4.78924 21.148 5.73005C21.3912 6.20731 21.5378 6.80197 21.6145 7.74064C21.6922 8.69099 21.693 9.90334 21.693 11.6V12.4C21.693 14.0967 21.6922 15.309 21.6145 16.2594C21.5378 17.198 21.3912 17.7927 21.148 18.27C20.6686 19.2108 19.9037 19.9757 18.9629 20.455C18.4856 20.6982 17.891 20.8449 16.9523 20.9216C16.002 20.9992 14.7896 21 13.093 21H12.293C10.5963 21 9.38395 20.9992 8.43361 20.9216C7.49494 20.8449 6.90028 20.6982 6.42301 20.455C5.4822 19.9757 4.7173 19.2108 4.23793 18.27C3.99475 17.7927 3.84808 17.198 3.77139 16.2594C3.69374 15.309 3.69296 14.0967 3.69296 12.4V11.6C3.69296 9.90334 3.69374 8.69099 3.77139 7.74064C3.84808 6.80197 3.99475 6.20731 4.23793 5.73005C4.7173 4.78924 5.4822 4.02433 6.42301 3.54497C6.76076 3.37287 7.15731 3.24911 7.69296 3.16428V4C7.69296 4.55229 8.14068 5 8.69296 5C9.24525 5 9.69296 4.55228 9.69296 4V3.01778C10.4148 3.00029 11.265 3 12.293 3H13.093C14.1209 3 14.9711 3.00029 15.693 3.01778Z",fill:"currentColor"})]})),bI=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.693 2C12.693 1.44772 12.2453 1 11.693 1C11.1407 1 10.693 1.44772 10.693 2V3H9.17983C6.70182 3 4.69299 5.00882 4.69299 7.48683C4.69299 9.4181 5.9288 11.1327 7.76097 11.7434L10.693 12.7208L10.693 19H9.69299C8.03614 19 6.69299 17.6569 6.69299 16C6.69299 15.4477 6.24528 15 5.69299 15C5.14071 15 4.69299 15.4477 4.69299 16C4.69299 18.7614 6.93157 21 9.69299 21H10.693V22C10.693 22.5523 11.1407 23 11.693 23C12.2453 23 12.693 22.5523 12.693 22V21H14.2062C16.6842 21 18.693 18.9912 18.693 16.5132C18.693 14.5819 17.4572 12.8673 15.625 12.2566L12.693 11.2792V5H13.693C15.3498 5 16.693 6.34315 16.693 8C16.693 8.55228 17.1407 9 17.693 9C18.2453 9 18.693 8.55228 18.693 8C18.693 5.23858 16.4544 3 13.693 3H12.693V2ZM10.693 5H9.17983C7.80639 5 6.69299 6.11339 6.69299 7.48683C6.69299 8.55724 7.37794 9.50756 8.39342 9.84605L10.693 10.6126L10.693 5ZM12.693 13.3874V19H14.2062C15.5796 19 16.693 17.8866 16.693 16.5132C16.693 15.4428 16.008 14.4924 14.9926 14.154L12.693 13.3874Z",fill:"currentColor"})})),bE=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 27 24",fill:"none"},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.69302 16.2C5.69302 15.6477 6.14074 15.2 6.69302 15.2H16.223C16.7753 15.2 17.223 15.6477 17.223 16.2C17.223 16.7522 16.7753 17.2 16.223 17.2H6.69302C6.14074 17.2 5.69302 16.7522 5.69302 16.2Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.69302 12.78C5.69302 12.2277 6.14074 11.78 6.69302 11.78H17.643C18.1953 11.78 18.643 12.2277 18.643 12.78C18.643 13.3323 18.1953 13.78 17.643 13.78H6.69302C6.14074 13.78 5.69302 13.3323 5.69302 12.78Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.223 8C12.6353 8 9.72302 10.9123 9.72302 14.5C9.72302 18.0877 12.6353 21 16.223 21C18.3894 21 20.3032 19.9445 21.4828 18.3139C21.8065 17.8664 22.4317 17.7661 22.8792 18.0898C23.3266 18.4135 23.427 19.0386 23.1033 19.4861C21.5628 21.6155 19.0567 23 16.223 23C11.5307 23 7.72302 19.1923 7.72302 14.5C7.72302 9.80772 11.5307 6 16.223 6C19.0566 6 21.5628 7.38445 23.1033 9.51386C23.427 9.96133 23.3266 10.5865 22.8792 10.9102C22.4317 11.2339 21.8065 11.1336 21.4828 10.6861C20.3032 9.0555 18.3894 8 16.223 8Z",fill:"currentColor"})]})),bH=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.59308 8.94C7.59308 6.21772 9.8108 4 12.5331 4H13.0631C15.7854 4 18.0031 6.21772 18.0031 8.94V9.25C18.0031 9.80228 17.5554 10.25 17.0031 10.25C16.4508 10.25 16.0031 9.80228 16.0031 9.25V8.94C16.0031 7.32229 14.6808 6 13.0631 6H12.5331C10.9154 6 9.59308 7.32229 9.59308 8.94V12.34H13.1931C13.7453 12.34 14.1931 12.7877 14.1931 13.34C14.1931 13.8923 13.7453 14.34 13.1931 14.34H9.59308V17.57C9.59308 18.0762 9.48301 18.5571 9.28553 18.99H17.0031C17.5553 18.99 18.0031 19.4377 18.0031 19.99C18.0031 20.5423 17.5553 20.99 17.0031 20.99H6.42667C6.33967 20.9966 6.25177 21 6.16309 21H5.70306C5.42438 21 5.17231 20.886 4.99097 20.7021C4.80706 20.5207 4.69305 20.2687 4.69305 19.99C4.69305 19.4377 5.14077 18.99 5.69305 18.99H6.33253C7.04085 18.9058 7.59308 18.3004 7.59308 17.57V14.34H5.69305C5.14077 14.34 4.69305 13.8923 4.69305 13.34C4.69305 12.7877 5.14077 12.34 5.69305 12.34H7.59308V8.94Z",fill:"currentColor"})})),bV=e=>{var{variant:t}=e,n=sk(e,["variant"]);return(0,g.jsxs)(x0,Object.assign({variant:t,viewBox:"0 0 24 24"},n,{children:[(0,g.jsx)("path",{fill:t?"none":"#fff",d:"M6 10h11v10H6z"}),(0,g.jsx)("path",{fill:t?"currentColor":"#F4B400",fillRule:"evenodd",d:"M4.614 0h9.144L17 3.212l3.212 3.243v15.598c0 .887-.726 1.614-1.613 1.614H4.614A1.618 1.618 0 0 1 3 22.053V1.613C3 .727 3.726 0 4.614 0ZM8.11 10.758h6.992a.81.81 0 0 1 .807.806v6.993a.81.81 0 0 1-.807.807H8.11a.81.81 0 0 1-.807-.807v-6.993a.81.81 0 0 1 .807-.806Zm.269 6.185h6.454v-3.765H8.38v3.765Z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#fff",fillOpacity:.5,d:"M13.758 0v4.84c0 .892.722 1.615 1.613 1.615h4.841L13.758 0Z"})]}))},bF=e=>{var{variant:t}=e,n=sk(e,["variant"]);return(0,g.jsx)(x0,Object.assign({variant:t},n,{children:(0,g.jsx)("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63a5.876 5.876 0 00-2.126 1.384A5.855 5.855 0 00.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913a5.885 5.885 0 001.384 2.126A5.868 5.868 0 004.14 23.37c.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558a5.898 5.898 0 002.126-1.384 5.86 5.86 0 001.384-2.126c.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913a5.89 5.89 0 00-1.384-2.126A5.847 5.847 0 0019.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85 0 3.204-.015 3.585-.074 4.85-.061 1.17-.256 1.805-.421 2.227a3.81 3.81 0 01-.899 1.382 3.744 3.744 0 01-1.38.896c-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421a3.716 3.716 0 01-1.379-.899 3.644 3.644 0 01-.9-1.38c-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 100 12.324 6.162 6.162 0 100-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 01-2.88 0 1.44 1.44 0 012.88 0z",fill:t?"currentColor":"#DA70A9"})}))},bB=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:"0.12",d:"M2 10.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C4.28 6 5.12 6 6.8 6h10.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C22 8.28 22 9.12 22 10.8v2.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C19.72 18 18.88 18 17.2 18H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C2 15.72 2 14.88 2 13.2v-2.4z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.768 4.89h10.464c.813 0 1.469 0 2 .044.546.045 1.026.14 1.47.366a3.75 3.75 0 011.64 1.638c.226.445.32.925.365 1.471.043.531.043 1.187.043 2v3.182c0 .813 0 1.469-.043 2-.045.546-.14 1.026-.366 1.47a3.75 3.75 0 01-1.639 1.64c-.444.226-.924.32-1.47.365-.531.043-1.187.043-2 .043H6.768c-.813 0-1.469 0-2-.043-.546-.045-1.026-.14-1.47-.366a3.75 3.75 0 01-1.64-1.639c-.226-.444-.32-.924-.365-1.47-.043-.531-.043-1.187-.043-2V10.41c0-.813 0-1.469.043-2 .045-.546.14-1.026.366-1.47a3.75 3.75 0 011.639-1.64c.444-.226.924-.32 1.47-.365.531-.043 1.187-.043 2-.043zM4.89 6.43c-.454.036-.715.105-.912.206a2.25 2.25 0 00-.984.983c-.1.198-.17.459-.207.913-.037.462-.038 1.056-.038 1.909v3.118c0 .853 0 1.447.038 1.91.037.453.107.714.207.912.216.423.56.767.984.983.197.1.458.17.912.207.462.037 1.057.038 1.909.038h10.4c.852 0 1.447 0 1.91-.038.453-.037.714-.107.912-.207a2.25 2.25 0 00.983-.983c.1-.198.17-.459.207-.913.037-.462.038-1.056.038-1.909v-3.118c0-.853 0-1.447-.038-1.91-.038-.453-.107-.714-.207-.912a2.25 2.25 0 00-.983-.983c-.198-.1-.459-.17-.913-.207-.462-.038-1.057-.038-1.909-.038H6.8c-.852 0-1.447 0-1.91.038z",fill:"currentColor"})]})),bR=e=>{var{variant:t}=e,n=sk(e,["variant"]);return(0,g.jsx)(x0,Object.assign({variant:t},n,{children:(0,g.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286h-.001zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z",fill:t?"currentColor":"#6596DA"})}))},bz=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:"0.12",d:"M5 6.8c0-1.68 0-2.52.327-3.162a3 3 0 011.311-1.311C7.28 2 8.12 2 9.8 2h4.4c1.68 0 2.52 0 3.162.327a3 3 0 011.311 1.311C19 4.28 19 5.12 19 6.8v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 01-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 01-1.311-1.311C5 19.72 5 18.88 5 17.2V6.8z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.256 1.25h3.488c.813 0 1.468 0 2 .043.546.045 1.026.14 1.47.366a3.75 3.75 0 011.639 1.639c.226.444.32.924.365 1.47.044.531.044 1.187.044 2v10.464c0 .813 0 1.469-.044 2-.044.546-.139 1.026-.365 1.47a3.75 3.75 0 01-1.639 1.64c-.444.226-.924.32-1.47.365-.532.043-1.187.043-2 .043h-3.488c-.813 0-1.468 0-2-.043-.546-.045-1.026-.14-1.47-.366a3.75 3.75 0 01-1.639-1.639c-.226-.444-.32-.924-.365-1.47-.044-.531-.044-1.187-.044-2V6.768c0-.813 0-1.469.044-2 .044-.546.139-1.026.365-1.47a3.75 3.75 0 011.639-1.64c.444-.226.924-.32 1.47-.365.532-.043 1.187-.043 2-.043zM8.38 2.788c-.454.037-.715.107-.912.207a2.25 2.25 0 00-.983.984c-.101.197-.17.458-.207.912-.038.462-.039 1.057-.039 1.909v10.4c0 .852 0 1.447.039 1.91.037.453.106.714.207.912.215.423.56.767.983.983.197.1.458.17.912.207.463.037 1.057.038 1.91.038h3.423c.852 0 1.446 0 1.909-.038.454-.038.715-.107.912-.207.423-.216.768-.56.983-.983.101-.198.17-.459.207-.913.038-.462.039-1.057.039-1.909V6.8c0-.852-.001-1.447-.039-1.91-.037-.453-.106-.714-.207-.911a2.25 2.25 0 00-.983-.984c-.197-.1-.458-.17-.912-.207-.463-.037-1.057-.038-1.91-.038h-3.423c-.852 0-1.446 0-1.909.038z",fill:"currentColor"})]})),bY=e=>{var{variant:t}=e,n=sk(e,["variant"]);return(0,g.jsxs)(x0,Object.assign({variant:t},n,{children:[(0,g.jsx)("path",{d:"M15.5634 8.87665C17.0957 9.97137 18.9727 10.6155 21 10.6155V6.71636C20.6163 6.71644 20.2336 6.67645 19.8583 6.59697V9.66613C17.8311 9.66613 15.9543 9.02202 14.4217 7.92738V15.8844C14.4217 19.8648 11.1933 23.0914 7.21098 23.0914C5.7251 23.0914 4.34403 22.6425 3.19678 21.8724C4.50618 23.2106 6.33224 24.0407 8.35245 24.0407C12.335 24.0407 15.5636 20.8141 15.5636 16.8335V8.87665H15.5634ZM16.9719 4.94291C16.1888 4.08787 15.6747 2.98288 15.5634 1.76128V1.25977H14.4815C14.7538 2.81243 15.6827 4.13893 16.9719 4.94291ZM5.71557 18.8179C5.27807 18.2446 5.04165 17.5432 5.04271 16.8221C5.04271 15.0015 6.51939 13.5254 8.34121 13.5254C8.68074 13.5254 9.01822 13.5773 9.34179 13.6799V9.69366C8.96366 9.64186 8.58203 9.61988 8.20056 9.62794V12.7307C7.87676 12.628 7.5391 12.5759 7.1995 12.5762C5.37767 12.5762 3.90107 14.0522 3.90107 15.873C3.90107 17.1604 4.63917 18.275 5.71557 18.8179Z",fill:t?"currentColor":"#FF004F"}),(0,g.jsx)("path",{d:"M14.4217 7.9273C15.9543 9.02194 17.8311 9.66605 19.8583 9.66605V6.59689C18.7267 6.35599 17.725 5.76497 16.9718 4.94291C15.6826 4.13885 14.7538 2.81235 14.4815 1.25977H11.6395V16.8333C11.6331 18.6489 10.1589 20.1189 8.34102 20.1189C7.26975 20.1189 6.31804 19.6086 5.7153 18.8179C4.63898 18.275 3.90089 17.1603 3.90089 15.873C3.90089 14.0524 5.37748 12.5763 7.19931 12.5763C7.54836 12.5763 7.88479 12.6306 8.20037 12.7307V9.62802C4.28805 9.70881 1.1416 12.9039 1.1416 16.8334C1.1416 18.795 1.92514 20.5732 3.19683 21.8725C4.34409 22.6425 5.72515 23.0915 7.21104 23.0915C11.1934 23.0915 14.4218 19.8648 14.4218 15.8844V7.9273H14.4217Z",fill:t?"currentColor":"#000000"}),(0,g.jsx)("path",{d:"M19.8583 6.59686V5.76698C18.8379 5.76853 17.8376 5.48291 16.9719 4.9428C17.7382 5.78139 18.7474 6.35962 19.8583 6.59686ZM14.4815 1.25974C14.4555 1.11135 14.4356 0.961989 14.4217 0.812057V0.310547H10.4978V15.8842C10.4915 17.6996 9.01742 19.1696 7.19934 19.1696C6.66558 19.1696 6.16162 19.043 5.71533 18.818C6.31807 19.6085 7.26978 20.1188 8.34105 20.1188C10.1588 20.1188 11.6332 18.6489 11.6396 16.8334V1.25974H14.4815ZM8.20057 9.62799V8.74452C7.87269 8.69973 7.54212 8.67725 7.21115 8.67742C3.22846 8.67733 0 11.9041 0 15.8842C0 18.3796 1.26884 20.5787 3.19695 21.8723C1.92525 20.5731 1.14171 18.7948 1.14171 16.8333C1.14171 12.9039 4.28809 9.70878 8.20057 9.62799Z",fill:t?"currentColor":"#00F2EA"})]}))},bG=e=>{var{variant:t}=e,n=sk(e,["variant"]);return(0,g.jsx)(x0,Object.assign({variant:t},n,{children:(0,g.jsx)("path",{fill:t?"currentColor":"#000",d:"M.094.143C.084.16.933 1.31 1.976 2.696l4.926 6.55 3.029 4.027-.194.218c-.11.12-2.337 2.512-4.947 5.315C2.18 21.614.036 23.927.03 23.953c-.01.026.446.047 1.1.042l1.117-.005.367-.402a6005 6005 0 0 0 8.202-8.82l.13-.151 1.049 1.396 3.527 4.694L18.007 24h3.8c3.16 0 3.794-.01 3.773-.068-.016-.041-.98-1.333-2.144-2.88a2215.571 2215.571 0 0 1-2.955-3.93c-.467-.614-1.835-2.443-3.05-4.053-1.216-1.615-2.212-2.959-2.212-2.98 0-.036 6.425-6.971 8.61-9.29l.624-.661h-1.148l-1.142.005-1.337 1.438c-.733.792-2.53 2.73-3.998 4.298L14.17 8.735l-3.223-4.283L7.719.164 3.92.138C1.83.122.106.128.095.143ZM9.098 4.76c1.242 1.657 3.16 4.205 4.26 5.669 1.101 1.459 3.543 4.71 5.43 7.216l3.474 4.626c.032.047-.34.063-1.698.063H18.83l-3.438-4.575C7.457 7.218 3.453 1.894 3.406 1.816c-.031-.047.325-.063 1.693-.063h1.735l2.264 3.006Z"})}))},bW=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:"0.12",d:"M4.394 18.894c-1.188-1.188-1.782-1.782-2.005-2.467a3 3 0 010-1.854c.223-.685.817-1.279 2.005-2.467l7.712-7.712c1.188-1.188 1.782-1.782 2.467-2.004a3 3 0 011.854 0c.685.222 1.279.816 2.467 2.004l.712.712c1.188 1.188 1.782 1.782 2.004 2.467a3 3 0 010 1.854c-.222.685-.816 1.28-2.004 2.467l-7.712 7.712c-1.188 1.188-1.782 1.782-2.467 2.005a3.001 3.001 0 01-1.854 0c-.685-.223-1.28-.817-2.467-2.005l-.712-.712z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.341 1.676a3.75 3.75 0 012.318 0c.474.154.88.427 1.298.782.406.345.87.808 1.445 1.383l.757.757c.575.575 1.038 1.039 1.383 1.445.355.418.628.824.782 1.298a3.75 3.75 0 010 2.318c-.154.474-.427.88-.782 1.298-.345.406-.808.87-1.383 1.445l-7.757 7.757c-.575.575-1.039 1.038-1.445 1.383-.418.355-.824.628-1.298.782a3.75 3.75 0 01-2.318 0c-.474-.154-.88-.427-1.298-.782-.406-.345-.87-.808-1.445-1.383l-.757-.757c-.575-.575-1.038-1.039-1.383-1.445-.355-.418-.628-.824-.782-1.298a3.75 3.75 0 010-2.318c.154-.474.427-.88.782-1.298.345-.406.808-.87 1.383-1.445l7.757-7.757c.575-.575 1.039-1.038 1.445-1.383.418-.355.824-.628 1.298-.782zm1.854 1.427a2.25 2.25 0 00-1.39 0c-.211.068-.444.204-.792.499-.353.3-.774.72-1.377 1.322l-7.712 7.712c-.602.603-1.022 1.024-1.323 1.378-.294.347-.43.58-.498.79a2.25 2.25 0 000 1.391c.068.211.204.444.498.792.3.353.72.774 1.323 1.377l.712.712c.603.602 1.024 1.022 1.377 1.322.348.295.58.43.792.5a2.25 2.25 0 001.39 0c.211-.07.444-.205.792-.5.06-.05.122-.105.187-.164L8.47 18.53a.75.75 0 011.06-1.06l1.72 1.72 1.94-1.94-3.22-3.22a.75.75 0 011.06-1.06l3.22 3.22 1.94-1.94-1.72-1.72a.75.75 0 011.06-1.06l1.72 1.72 1.94-1.94-3.22-3.22a.75.75 0 011.06-1.06l3.204 3.204c.059-.065.113-.127.164-.187.295-.348.43-.58.5-.792a2.25 2.25 0 000-1.39c-.07-.211-.205-.444-.5-.792-.3-.353-.72-.774-1.322-1.377l-.712-.712c-.603-.602-1.024-1.022-1.378-1.322-.347-.295-.58-.43-.79-.5z",fill:"currentColor"})]})),bU=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z",fill:"currentColor"})})),bN=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.29289 5.29289C8.68342 4.90237 9.31658 4.90237 9.70711 5.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L9.70711 18.7071C9.31658 19.0976 8.68342 19.0976 8.29289 18.7071C7.90237 18.3166 7.90237 17.6834 8.29289 17.2929L13.5858 12L8.29289 6.70711C7.90237 6.31658 7.90237 5.68342 8.29289 5.29289Z",fill:"currentColor"})})),bK=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M3.75 22C3.33579 22 3 21.6642 3 21.25L3 3.25002C3 2.83581 3.33579 2.50002 3.75 2.50002C4.16421 2.50002 4.5 2.83581 4.5 3.25002L4.5 21.25C4.5 21.6642 4.16421 22 3.75 22Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M9.41667 22C9.00245 22 8.66667 21.6642 8.66667 21.25L8.66667 8.25002C8.66667 7.83581 9.00245 7.50002 9.41667 7.50002C9.83088 7.50002 10.1667 7.83581 10.1667 8.25002L10.1667 21.25C10.1667 21.6642 9.83088 22 9.41667 22Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M15.0833 10.5C15.4975 10.5 15.8333 10.8358 15.8333 11.25V21.25C15.8333 21.6642 15.4975 22 15.0833 22C14.6691 22 14.3333 21.6642 14.3333 21.25V11.25C14.3333 10.8358 14.6691 10.5 15.0833 10.5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M20.75 12.5C20.3358 12.5 20 12.8358 20 13.25V21.25C20 21.6642 20.3358 22 20.75 22C21.1642 22 21.5 21.6642 21.5 21.25V13.25C21.5 12.8358 21.1642 12.5 20.75 12.5Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M19.1183 1.52428C18.8555 1.20407 18.3829 1.15747 18.0627 1.42022C17.7425 1.68296 17.6959 2.15554 17.9587 2.47576L19.4145 4.25002L13 4.25002C12.5858 4.25002 12.25 4.58581 12.25 5.00002C12.25 5.41423 12.5858 5.75002 13 5.75002L19.4145 5.75002L17.9587 7.52428C17.6959 7.8445 17.7425 8.31708 18.0627 8.57983C18.3829 8.84257 18.8555 8.79598 19.1183 8.47576L21.5798 5.47576C21.8067 5.19919 21.8067 4.80085 21.5798 4.52428L19.1183 1.52428Z",fill:"currentColor"})]})),bZ=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{opacity:.12,d:"M2 8.4C2 6.15979 2 5.03968 2.43597 4.18404C2.81947 3.43139 3.43139 2.81947 4.18404 2.43597C5.03968 2 6.15979 2 8.4 2H15.6C17.8402 2 18.9603 2 19.816 2.43597C20.5686 2.81947 21.1805 3.43139 21.564 4.18404C22 5.03968 22 6.15979 22 8.4V15.6C22 17.8402 22 18.9603 21.564 19.816C21.1805 20.5686 20.5686 21.1805 19.816 21.564C18.9603 22 17.8402 22 15.6 22H8.4C6.15979 22 5.03968 22 4.18404 21.564C3.43139 21.1805 2.81947 20.5686 2.43597 19.816C2 18.9603 2 17.8402 2 15.6V8.4Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.96644 1.25H14.0336C15.4053 1.25 16.4807 1.24999 17.3451 1.32061C18.2252 1.39252 18.9523 1.54138 19.6104 1.87671C20.6924 2.42798 21.572 3.30762 22.1233 4.38955C22.4586 5.04768 22.6075 5.77479 22.6794 6.65494C22.75 7.51926 22.75 8.59466 22.75 9.96632V14.0336C22.75 15.4052 22.75 16.4807 22.6794 17.3451C22.6075 18.2252 22.4586 18.9523 22.1233 19.6104C21.572 20.6924 20.6924 21.572 19.6104 22.1233C18.9523 22.4586 18.2252 22.6075 17.3451 22.6794C16.4807 22.75 15.4053 22.75 14.0337 22.75H9.96642C8.59476 22.75 7.51926 22.75 6.65494 22.6794C5.77479 22.6075 5.04768 22.4586 4.38955 22.1233C3.30762 21.572 2.42798 20.6924 1.87671 19.6104C1.54138 18.9523 1.39252 18.2252 1.32061 17.3451C1.24999 16.4807 1.25 15.4053 1.25 14.0336V9.96644C1.25 8.59473 1.24999 7.51928 1.32061 6.65494C1.39252 5.77479 1.54138 5.04768 1.87671 4.38955C2.42798 3.30762 3.30762 2.42798 4.38955 1.87671C5.04768 1.54138 5.77479 1.39252 6.65494 1.32061C7.51928 1.24999 8.59473 1.25 9.96644 1.25ZM2.75 12.75V14C2.75 15.4125 2.75058 16.4268 2.81563 17.2229C2.87996 18.0103 3.00359 18.518 3.21322 18.9295C3.62068 19.7291 4.27085 20.3793 5.07054 20.7868C5.48197 20.9964 5.9897 21.12 6.77708 21.1844C7.57322 21.2494 8.58749 21.25 10 21.25H11.25V12.75H2.75ZM11.25 11.25H2.75V10C2.75 8.58749 2.75058 7.57322 2.81563 6.77708C2.87996 5.9897 3.00359 5.48197 3.21322 5.07054C3.62068 4.27085 4.27085 3.62068 5.07054 3.21322C5.48197 3.00359 5.9897 2.87996 6.77708 2.81563C7.57322 2.75058 8.58749 2.75 10 2.75H11.25V11.25ZM12.75 12.75V21.25H14C15.4125 21.25 16.4268 21.2494 17.2229 21.1844C18.0103 21.12 18.518 20.9964 18.9295 20.7868C19.7291 20.3793 20.3793 19.7291 20.7868 18.9295C20.9964 18.518 21.12 18.0103 21.1844 17.2229C21.2494 16.4268 21.25 15.4125 21.25 14V12.75H12.75ZM21.25 11.25H12.75V2.75H14C15.4125 2.75 16.4268 2.75058 17.2229 2.81563C18.0103 2.87996 18.518 3.00359 18.9295 3.21322C19.7291 3.62068 20.3793 4.27085 20.7868 5.07054C20.9964 5.48197 21.12 5.9897 21.1844 6.77708C21.2494 7.57322 21.25 8.58749 21.25 10V11.25Z",fill:"currentColor"})]})})),bX=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:"0.12",d:"M2 10C2 7.19974 2 5.79961 2.54497 4.73005C3.02433 3.78924 3.78924 3.02433 4.73005 2.54497C5.79961 2 7.19974 2 10 2H14C16.8003 2 18.2004 2 19.27 2.54497C20.2108 3.02433 20.9757 3.78924 21.455 4.73005C22 5.79961 22 7.19974 22 10V14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14V10Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.96644 1.25C8.59473 1.25 7.51928 1.24999 6.65494 1.32061C5.7748 1.39252 5.04769 1.54138 4.38955 1.87671C3.30762 2.42798 2.42798 3.30762 1.87671 4.38955C1.54138 5.04769 1.39252 5.7748 1.32061 6.65494C1.24999 7.51928 1.25 8.59471 1.25 9.96642V14.0336C1.25 15.4053 1.24999 16.4807 1.32061 17.3451C1.39252 18.2252 1.54138 18.9523 1.87671 19.6104C2.42798 20.6924 3.30762 21.572 4.38955 22.1233C5.04769 22.4586 5.7748 22.6075 6.65494 22.6794C7.51927 22.75 8.59469 22.75 9.96637 22.75H14.0336C15.4053 22.75 16.4807 22.75 17.3451 22.6794C18.2252 22.6075 18.9523 22.4586 19.6104 22.1233C20.6924 21.572 21.572 20.6924 22.1233 19.6104C22.4586 18.9523 22.6075 18.2252 22.6794 17.3451C22.75 16.4807 22.75 15.4053 22.75 14.0336V9.96642C22.75 8.59474 22.75 7.51927 22.6794 6.65494C22.6075 5.7748 22.4586 5.04769 22.1233 4.38955C21.572 3.30762 20.6924 2.42798 19.6104 1.87671C18.9523 1.54138 18.2252 1.39252 17.3451 1.32061C16.4807 1.24999 15.4053 1.25 14.0336 1.25H9.96644ZM5.07054 3.21322C5.48197 3.00359 5.9897 2.87996 6.77708 2.81563C7.57322 2.75058 8.58749 2.75 10 2.75H14C15.4125 2.75 16.4268 2.75058 17.2229 2.81563C18.0103 2.87996 18.518 3.00359 18.9295 3.21322C19.7291 3.62068 20.3793 4.27085 20.7868 5.07054C20.9964 5.48197 21.12 5.9897 21.1844 6.77708C21.2494 7.57322 21.25 8.58749 21.25 10V14C21.25 15.4125 21.2494 16.4268 21.1844 17.2229C21.12 18.0103 20.9964 18.518 20.7868 18.9295C20.3793 19.7291 19.7291 20.3793 18.9295 20.7868C18.518 20.9964 18.0103 21.12 17.2229 21.1844C16.4268 21.2494 15.4125 21.25 14 21.25H10C8.58749 21.25 7.57322 21.2494 6.77708 21.1844C5.9897 21.12 5.48197 20.9964 5.07054 20.7868C4.27085 20.3793 3.62068 19.7291 3.21322 18.9295C3.00359 18.518 2.87996 18.0103 2.81563 17.2229C2.75058 16.4268 2.75 15.4125 2.75 14V10C2.75 8.58749 2.75058 7.57322 2.81563 6.77708C2.87996 5.9897 3.00359 5.48197 3.21322 5.07054C3.62068 4.27085 4.27085 3.62068 5.07054 3.21322ZM17.5302 9.53033C17.8231 9.23744 17.8231 8.76256 17.5302 8.46967C17.2373 8.17678 16.7624 8.17678 16.4695 8.46967L12.9999 11.9393L11.5302 10.4697C11.2373 10.1768 10.7624 10.1768 10.4695 10.4697L6.46955 14.4697C6.17666 14.7626 6.17666 15.2374 6.46955 15.5303C6.76244 15.8232 7.23732 15.8232 7.53021 15.5303L10.9999 12.0607L12.4695 13.5303C12.6102 13.671 12.801 13.75 12.9999 13.75C13.1988 13.75 13.3896 13.671 13.5302 13.5303L17.5302 9.53033Z",fill:"currentColor"})]})),b_=e=>{var{gradientVariant:t}=e,n=sk(e,["gradientVariant"]);let r=gS(t);return(0,g.jsxs)(x0,Object.assign({},n,{children:[(0,g.jsx)("rect",{width:"20",height:"20",x:"2",y:"2",fill:r.fill("a"),opacity:"0.12",rx:"5"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.25h-.034c-1.371 0-2.447 0-3.311.07-.88.073-1.607.221-2.265.557A5.75 5.75 0 001.877 4.39c-.336.658-.484 1.385-.556 2.265-.071.864-.071 1.94-.071 3.311v4.068c0 1.371 0 2.447.07 3.311.073.88.221 1.607.557 2.265a5.75 5.75 0 002.513 2.513c.658.336 1.385.485 2.265.556.864.071 1.94.071 3.311.071h4.068c1.371 0 2.447 0 3.311-.07.88-.072 1.607-.221 2.265-.557a5.75 5.75 0 002.513-2.513c.336-.658.485-1.385.556-2.265.071-.864.071-1.94.071-3.311V9.966c0-1.371 0-2.447-.07-3.311-.072-.88-.221-1.607-.557-2.265a5.75 5.75 0 00-2.513-2.513c-.658-.336-1.385-.484-2.265-.556-.864-.071-1.94-.071-3.311-.071H10zM5.07 3.213c.412-.21.92-.333 1.707-.397.796-.065 1.81-.066 3.223-.066h4c1.412 0 2.427 0 3.223.066.787.064 1.295.188 1.707.397a4.25 4.25 0 011.857 1.858c.21.411.333.919.397 1.706.065.796.066 1.81.066 3.223v4c0 1.412 0 2.427-.066 3.223-.064.787-.188 1.295-.397 1.707a4.251 4.251 0 01-1.857 1.857c-.412.21-.92.333-1.707.397-.796.065-1.81.066-3.223.066h-4c-1.413 0-2.427 0-3.223-.066-.787-.064-1.295-.188-1.706-.397a4.25 4.25 0 01-1.858-1.857c-.21-.412-.333-.92-.397-1.707-.065-.796-.066-1.81-.066-3.223v-4c0-1.413 0-2.427.066-3.223.064-.787.188-1.295.397-1.706a4.25 4.25 0 011.858-1.858zm13.069 5.68a.75.75 0 00-1.278-.786l-2.345 3.81a.93.93 0 01-1.64-.102c-.77-1.695-3.083-1.93-4.179-.424l-2.304 3.168a.75.75 0 101.213.882l2.304-3.168a.93.93 0 011.6.163c.806 1.772 3.264 1.925 4.284.268l2.345-3.81z",fill:r.fill("a")}),(0,g.jsx)("defs",{children:(0,g.jsxs)("linearGradient",{id:r.id("green","a"),x1:"1.25",y1:"2.61167",x2:"22.75",y2:"21.675",gradientUnits:"userSpaceOnUse",children:[(0,g.jsx)("stop",{stopColor:"#2461FF"}),(0,g.jsx)("stop",{offset:"0.83",stopColor:"#00FF66"})]})})]}))},bQ=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.11 12.277c-.11-.46-.11-.95-.11-1.928V9.4c0-2.24 0-3.36.436-4.216a4 4 0 0 1 1.748-1.748C6.04 3 7.16 3 9.4 3h.949c.978 0 1.468 0 1.928.11.408.099.798.26 1.156.48.404.247.75.593 1.441 1.285l3.6 3.6c1.585 1.584 2.377 2.376 2.673 3.289a4 4 0 0 1 0 2.472c-.296.913-1.088 1.705-2.672 3.29l-.95.948c-1.584 1.585-2.376 2.377-3.289 2.673a4 4 0 0 1-2.472 0c-.913-.296-1.705-1.088-3.29-2.672l-3.6-3.6c-.691-.692-1.037-1.038-1.285-1.442a3.998 3.998 0 0 1-.478-1.156ZM10 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",clipRule:"evenodd",opacity:.12}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 7.25a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5ZM8.75 10a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0Z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.452 2.381c-.548-.131-1.12-.131-2.01-.131H9.368c-1.092 0-1.958 0-2.655.057-.714.058-1.317.18-1.868.46a4.75 4.75 0 0 0-2.076 2.077c-.281.55-.403 1.154-.461 1.868-.057.697-.057 1.563-.057 2.655v1.075c0 .89 0 1.462.131 2.01.117.485.309.948.569 1.373.294.48.7.885 1.328 1.514l3.69 3.69c.772.771 1.384 1.383 1.917 1.836.546.464 1.059.805 1.647.996a4.75 4.75 0 0 0 2.936 0c.588-.192 1.101-.532 1.647-.996.533-.453 1.145-1.065 1.918-1.837l.995-.996c.773-.772 1.385-1.384 1.838-1.917.463-.546.803-1.059.995-1.647a4.75 4.75 0 0 0 0-2.936c-.192-.588-.532-1.101-.995-1.647-.453-.533-1.066-1.145-1.838-1.918l-3.69-3.689c-.628-.629-1.033-1.034-1.513-1.328a4.75 4.75 0 0 0-1.373-.569ZM10.349 3.75c1.014 0 1.399.005 1.753.09.332.08.649.21.94.389.31.19.585.459 1.302 1.176l3.6 3.6c.801.8 1.37 1.37 1.778 1.851.403.475.606.815.712 1.14a3.25 3.25 0 0 1 0 2.008c-.106.325-.31.665-.712 1.14-.409.481-.977 1.05-1.778 1.851l-.949.95c-.8.8-1.37 1.368-1.851 1.777-.475.403-.815.606-1.14.712a3.25 3.25 0 0 1-2.008 0c-.325-.106-.665-.31-1.14-.712-.481-.409-1.05-.977-1.851-1.778l-3.6-3.6c-.717-.717-.986-.992-1.176-1.303a3.25 3.25 0 0 1-.39-.94c-.084-.353-.089-.738-.089-1.752V9.4c0-1.133 0-1.937.052-2.566.05-.62.147-1.005.302-1.31a3.25 3.25 0 0 1 1.42-1.42c.305-.155.69-.251 1.31-.302.63-.051 1.434-.052 2.566-.052h.95Z",clipRule:"evenodd"})]})),bJ=e=>(0,g.jsx)(x0,Object.assign({},e,{viewBox:"0 0 16 16",children:(0,g.jsx)("path",{fill:"currentColor",d:"M3.333 3.08v1h9.334v-1H3.333ZM3.333 6.747h9.334v1.666H3.333V6.747ZM3.333 10.747h9.334v2.333H3.333v-2.333Z"})})),bq=e=>(0,g.jsx)(x0,Object.assign({},e,{viewBox:"0 0 16 16",children:(0,g.jsx)("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor",fill:"currentColor",fillOpacity:.12})})),b$=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M2 11.6c0-3.36 0-5.04.654-6.324a6 6 0 0 1 2.622-2.622C6.56 2 8.24 2 11.6 2h.8c3.36 0 5.04 0 6.324.654a6 6 0 0 1 2.622 2.622C22 6.56 22 8.24 22 11.6v.8c0 3.36 0 5.04-.654 6.324a6 6 0 0 1-2.622 2.622C17.44 22 15.76 22 12.4 22h-.8c-3.36 0-5.04 0-6.324-.654a6 6 0 0 1-2.622-2.622C2 17.44 2 15.76 2 12.4v-.8Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.566 1.25c-1.651 0-2.937 0-3.968.084-1.047.086-1.897.262-2.662.652a6.75 6.75 0 0 0-2.95 2.95c-.39.765-.566 1.615-.652 2.662-.084 1.031-.084 2.317-.084 3.968v.868c0 1.651 0 2.937.084 3.968.086 1.047.262 1.897.652 2.662a6.75 6.75 0 0 0 2.95 2.95c.765.39 1.615.566 2.662.652 1.031.084 2.317.084 3.968.084h.868c1.651 0 2.937 0 3.968-.084 1.047-.086 1.897-.262 2.662-.652a6.75 6.75 0 0 0 2.95-2.95c.39-.765.566-1.615.652-2.662.084-1.031.084-2.317.084-3.968v-.868c0-1.651 0-2.937-.084-3.968-.086-1.047-.262-1.897-.652-2.662a6.75 6.75 0 0 0-2.95-2.95c-.765-.39-1.615-.566-2.662-.652-1.031-.084-2.317-.084-3.968-.084h-.868Zm-5.95 2.072c.519-.264 1.15-.415 2.104-.493.963-.078 2.187-.079 3.88-.079h.8c1.692 0 2.917 0 3.88.08.954.077 1.585.228 2.103.492a5.25 5.25 0 0 1 2.295 2.295c.264.518.415 1.15.493 2.103.078.963.079 2.187.079 3.88v.8c0 1.692 0 2.917-.08 3.88-.077.954-.228 1.585-.492 2.103a5.25 5.25 0 0 1-2.295 2.295c-.518.264-1.15.415-2.103.493-.963.078-2.188.079-3.88.079h-.8c-1.693 0-2.917 0-3.88-.08-.954-.077-1.585-.228-2.103-.492a5.25 5.25 0 0 1-2.295-2.295c-.264-.518-.415-1.15-.493-2.103-.078-.963-.079-2.188-.079-3.88v-.8c0-1.693 0-2.917.08-3.88.077-.954.228-1.585.492-2.103a5.25 5.25 0 0 1 2.295-2.295ZM7.75 8a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0V8ZM12 10.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0v-5a.75.75 0 0 1 .75-.75ZM17.75 9a.75.75 0 0 0-1.5 0v7a.75.75 0 0 0 1.5 0V9Z",fill:"currentColor"})]})),b1=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{d:"M10.3144 6.86888C10.0417 7.18061 9.56786 7.21219 9.25613 6.93943L7.50001 5.40283L7.50001 17.1667C7.50001 17.5809 7.16422 17.9167 6.75001 17.9167C6.3358 17.9167 6.00001 17.5809 6.00001 17.1667L6.00001 5.40283L4.24389 6.93943C3.93216 7.21219 3.45834 7.18061 3.18558 6.86888C2.91282 6.55715 2.9444 6.08333 3.25613 5.81057L6.25613 3.18557C6.5389 2.93814 6.96112 2.93814 7.24389 3.18557L10.2439 5.81057C10.5556 6.08333 10.5872 6.55715 10.3144 6.86888Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M17.0477 20.8144C16.736 20.5417 16.7044 20.0679 16.9772 19.7561L18.5138 18L6.74996 18C6.33575 18 5.99996 17.6642 5.99996 17.25C5.99996 16.8358 6.33575 16.5 6.74996 16.5L18.5138 16.5L16.9772 14.7439C16.7044 14.4322 16.736 13.9583 17.0477 13.6856C17.3595 13.4128 17.8333 13.4444 18.1061 13.7561L20.7311 16.7561C20.9785 17.0389 20.9785 17.4611 20.7311 17.7439L18.1061 20.7439C17.8333 21.0556 17.3595 21.0872 17.0477 20.8144Z",fill:"currentColor"})]})),b0=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:.8,d:"M22 14.282v-7a.498.498 0 0 0-.757-.425L14.5 10.973c-.908.555-1.363.832-1.848.94-.43.096-.876.096-1.306 0-.485-.108-.94-.385-1.848-.94L2.757 6.857A.498.498 0 0 0 2 7.282v7c0 .991 0 1.487.142 1.932a3 3 0 0 0 .605 1.068c.309.351.734.606 1.583 1.116l5.2 3.12c.898.539 1.347.808 1.827.914a3 3 0 0 0 1.287 0c.479-.106.928-.375 1.826-.914l5.2-3.12c.85-.51 1.274-.765 1.583-1.116a3 3 0 0 0 .605-1.068c.142-.445.142-.94.142-1.932Z",opacity:.12}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:.8,fillRule:"evenodd",d:"M11.395.798a3.752 3.752 0 0 1 1.41.038l.233.061c.541.167 1.071.494 1.817.942l5.2 3.12c.808.484 1.357.804 1.761 1.264l.124.148c.28.354.494.756.632 1.187l.062.221c.123.525.116 1.115.116 1.939v4.564c0 .824.007 1.414-.116 1.939l-.062.221c-.137.431-.352.833-.632 1.187l-.124.148c-.404.46-.953.78-1.76 1.264l-5.2 3.12c-.747.448-1.277.775-1.818.942l-.233.061a3.752 3.752 0 0 1-1.41.038l-.2-.038c-.47-.103-.91-.328-1.459-.65l-.592-.353-5.2-3.12c-.706-.424-1.215-.721-1.601-1.097l-.16-.167a3.75 3.75 0 0 1-.692-1.152l-.063-.183c-.187-.582-.178-1.218-.178-2.16V9.718c0-.942-.009-1.577.178-2.16a3.75 3.75 0 0 1 .755-1.335l.16-.167c.386-.376.895-.673 1.601-1.097l5.2-3.12c.853-.512 1.424-.865 2.051-1.003l.2-.038ZM12.75 12.92v8.694c.274-.11.636-.32 1.334-.739l5.2-3.12c.892-.535 1.192-.726 1.405-.968l.145-.181a2.25 2.25 0 0 0 .31-.62l.032-.119c.067-.288.074-.674.074-1.585V9.718c0-.91-.007-1.297-.074-1.585l-.033-.12a2.254 2.254 0 0 0-.068-.182L12.75 12.92ZM2.856 8.014c-.098.307-.106.663-.106 1.704v4.564c0 1.04.008 1.397.106 1.704l.082.217c.093.212.219.41.372.584l.085.089c.213.206.54.41 1.32.879l5.2 3.12.603.357c.33.192.55.306.732.38V12.92L2.925 7.832c-.025.06-.049.12-.069.182Zm5.876 1.61L12 11.621l8.038-4.913c-.191-.122-.434-.27-.754-.463l-2.533-1.52-8.019 4.9Zm3.75-7.323a2.25 2.25 0 0 0-.964 0c-.331.072-.66.258-1.602.824l-5.2 3.12c-.321.193-.565.341-.756.463l3.335 2.038L15.3 3.855l-1.216-.73c-.825-.495-1.18-.7-1.477-.791l-.125-.033Z",clipRule:"evenodd"})]})),b2=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:"0.12",d:"M13.566 2.59c-.404.247-.75.593-1.441 1.285L7 9c-1.09 1.09-1.636 1.636-1.927 2.224a4 4 0 000 3.552c.291.588.836 1.133 1.927 2.224 1.09 1.09 1.636 1.636 2.224 1.927a4 4 0 003.552 0C13.364 18.636 13.91 18.09 15 17l5.125-5.126c.692-.691 1.037-1.037 1.285-1.44.22-.359.38-.749.479-1.157.11-.46.11-.95.11-1.928V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 00-1.31-1.311C19.718 2 18.878 2 17.198 2h-.549c-.978 0-1.467 0-1.928.11a4 4 0 00-1.156.48zM15.002 11a2 2 0 100-4 2 2 0 000 4z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.002 6.25a2.75 2.75 0 100 5.5 2.75 2.75 0 000-5.5zM13.752 9a1.25 1.25 0 112.5 0 1.25 1.25 0 01-2.5 0z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.557 1.25h.674c.813 0 1.469 0 2 .043.546.045 1.026.14 1.47.366a3.75 3.75 0 011.64 1.639c.226.444.32.924.365 1.47.043.531.043 1.187.043 2v.675c0 .889 0 1.461-.131 2.01a4.749 4.749 0 01-.569 1.372c-.294.48-.7.885-1.328 1.514l-1.407 1.407.44 2.196c.163.816.276 1.38.222 1.937-.048.49-.192.967-.424 1.402-.264.493-.67.9-1.26 1.488l-1.76 1.761a.75.75 0 01-1.142-.094L13.294 19.5a4.75 4.75 0 01-4.403.099c-.7-.347-1.327-.974-2.31-1.957l-.223-.223c-.983-.983-1.61-1.61-1.957-2.31a4.75 4.75 0 01.098-4.402L1.565 8.61a.75.75 0 01-.095-1.14l1.762-1.762c.588-.589.995-.996 1.488-1.26a3.75 3.75 0 011.402-.424c.556-.054 1.12.06 1.936.223l2.195.439 1.407-1.408c.629-.628 1.034-1.034 1.514-1.328a4.75 4.75 0 011.373-.569c.548-.131 1.12-.131 2.01-.131zM8.978 5.96l-1.106-.22c-.966-.194-1.298-.253-1.604-.223a2.25 2.25 0 00-.842.255c-.271.145-.515.378-1.212 1.075L3.157 7.904 5.419 9.52l.559-.558.38-.38 2.62-2.622zm-3.233 5.597c.2-.404.566-.803 1.46-1.7L11.03 6.03a.766.766 0 00.017-.017l1.608-1.608c.717-.717.993-.986 1.303-1.176.29-.178.608-.31.94-.39.353-.084.738-.089 1.752-.089h.55c.852 0 1.446 0 1.909.038.453.037.714.107.912.207.423.216.767.56.983.984.1.197.17.458.207.912.038.462.038 1.057.038 1.909v.55c0 1.013-.005 1.398-.09 1.752a3.25 3.25 0 01-.389.94c-.19.31-.459.585-1.175 1.302L14.47 16.47c-1.134 1.134-1.577 1.563-2.027 1.786a3.25 3.25 0 01-2.886 0c-.372-.184-.74-.51-1.495-1.256L9.53 15.53a.75.75 0 00-1.06-1.06L7 15.938c-.747-.756-1.072-1.123-1.256-1.495a3.25 3.25 0 010-2.886zm10.351 9.287L14.48 18.58l3.56-3.56.221 1.107c.194.967.252 1.298.222 1.605a2.25 2.25 0 01-.254.841c-.145.272-.378.515-1.075 1.212l-1.058 1.058z",fill:"currentColor"})]})),b5=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",opacity:"0.12",d:"M2 10C2 7.19974 2 5.79961 2.54497 4.73005C3.02433 3.78924 3.78924 3.02433 4.73005 2.54497C5.79961 2 7.19974 2 10 2H14C16.8003 2 18.2004 2 19.27 2.54497C20.2108 3.02433 20.9757 3.78924 21.455 4.73005C22 5.79961 22 7.19974 22 10V14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14V10Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.96644 1.25C8.59472 1.25 7.51929 1.24999 6.65494 1.32061C5.77479 1.39252 5.04768 1.54138 4.38955 1.87671C3.30762 2.42798 2.42798 3.30762 1.87671 4.38955C1.54138 5.04768 1.39252 5.77479 1.32061 6.65494C1.24999 7.51929 1.25 8.59472 1.25 9.96644V14.0336C1.25 15.4053 1.24999 16.4807 1.32061 17.3451C1.39252 18.2252 1.54138 18.9523 1.87671 19.6104C2.42798 20.6924 3.30762 21.572 4.38955 22.1233C5.04768 22.4586 5.77479 22.6075 6.65494 22.6794C7.51927 22.75 8.59469 22.75 9.96637 22.75H14.0336C15.4053 22.75 16.4807 22.75 17.3451 22.6794C18.2252 22.6075 18.9523 22.4586 19.6104 22.1233C20.6924 21.572 21.572 20.6924 22.1233 19.6104C22.4586 18.9523 22.6075 18.2252 22.6794 17.3451C22.75 16.4807 22.75 15.4053 22.75 14.0336V9.96642C22.75 8.59473 22.75 7.51927 22.6794 6.65494C22.6075 5.77479 22.4586 5.04768 22.1233 4.38955C21.572 3.30762 20.6924 2.42798 19.6104 1.87671C18.9523 1.54138 18.2252 1.39252 17.3451 1.32061C16.4807 1.24999 15.4053 1.25 14.0336 1.25H9.96644ZM5.07054 3.21322C5.48197 3.00359 5.9897 2.87996 6.77708 2.81563C7.57322 2.75058 8.58749 2.75 10 2.75H14C15.4125 2.75 16.4268 2.75058 17.2229 2.81563C18.0103 2.87996 18.518 3.00359 18.9295 3.21322C19.7291 3.62068 20.3793 4.27085 20.7868 5.07054C20.9964 5.48197 21.12 5.9897 21.1844 6.77708C21.2494 7.57322 21.25 8.58749 21.25 10V14C21.25 15.4125 21.2494 16.4268 21.1844 17.2229C21.12 18.0103 20.9964 18.518 20.7868 18.9295C20.3793 19.7291 19.7291 20.3793 18.9295 20.7868C18.518 20.9964 18.0103 21.12 17.2229 21.1844C16.4268 21.2494 15.4125 21.25 14 21.25H10C8.58749 21.25 7.57322 21.2494 6.77708 21.1844C5.9897 21.12 5.48197 20.9964 5.07054 20.7868C4.27085 20.3793 3.62068 19.7291 3.21322 18.9295C3.00359 18.518 2.87996 18.0103 2.81563 17.2229C2.75058 16.4268 2.75 15.4125 2.75 14V10C2.75 8.58749 2.75058 7.57322 2.81563 6.77708C2.87996 5.9897 3.00359 5.48197 3.21322 5.07054C3.62068 4.27085 4.27085 3.62068 5.07054 3.21322Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4796 12.2222L17.6085 12.2291L17.6029 10.7291L19.474 10.7222L19.4796 12.2222ZM15.3662 12.2375L13.124 12.2459L13.1184 10.7459L15.3606 10.7375L15.3662 12.2375ZM10.8817 12.2542L8.63945 12.2626L8.63386 10.7626L10.8761 10.7542L10.8817 12.2542ZM6.39719 12.2709L4.52607 12.2779L4.52048 10.7779L6.3916 10.7709L6.39719 12.2709Z",fill:"currentColor"})]})),b3=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",opacity:"0.12",d:"M2 10C2 7.19974 2 5.79961 2.54497 4.73005C3.02433 3.78924 3.78924 3.02433 4.73005 2.54497C5.79961 2 7.19974 2 10 2H14C16.8003 2 18.2004 2 19.27 2.54497C20.2108 3.02433 20.9757 3.78924 21.455 4.73005C22 5.79961 22 7.19974 22 10V14C22 16.8003 22 18.2004 21.455 19.27C20.9757 20.2108 20.2108 20.9757 19.27 21.455C18.2004 22 16.8003 22 14 22H10C7.19974 22 5.79961 22 4.73005 21.455C3.78924 20.9757 3.02433 20.2108 2.54497 19.27C2 18.2004 2 16.8003 2 14V10Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.96644 1.25C8.59472 1.25 7.51929 1.24999 6.65494 1.32061C5.77479 1.39252 5.04768 1.54138 4.38955 1.87671C3.30762 2.42798 2.42798 3.30762 1.87671 4.38955C1.54138 5.04768 1.39252 5.77479 1.32061 6.65494C1.24999 7.51929 1.25 8.59472 1.25 9.96644V14.0336C1.25 15.4053 1.24999 16.4807 1.32061 17.3451C1.39252 18.2252 1.54138 18.9523 1.87671 19.6104C2.42798 20.6924 3.30762 21.572 4.38955 22.1233C5.04768 22.4586 5.77479 22.6075 6.65494 22.6794C7.51927 22.75 8.59469 22.75 9.96637 22.75H14.0336C15.4053 22.75 16.4807 22.75 17.3451 22.6794C18.2252 22.6075 18.9523 22.4586 19.6104 22.1233C20.6924 21.572 21.572 20.6924 22.1233 19.6104C22.4586 18.9523 22.6075 18.2252 22.6794 17.3451C22.75 16.4807 22.75 15.4053 22.75 14.0336V9.96642C22.75 8.59473 22.75 7.51927 22.6794 6.65494C22.6075 5.77479 22.4586 5.04768 22.1233 4.38955C21.572 3.30762 20.6924 2.42798 19.6104 1.87671C18.9523 1.54138 18.2252 1.39252 17.3451 1.32061C16.4807 1.24999 15.4053 1.25 14.0336 1.25H9.96644ZM5.07054 3.21322C5.48197 3.00359 5.9897 2.87996 6.77708 2.81563C7.57322 2.75058 8.58749 2.75 10 2.75H14C15.4125 2.75 16.4268 2.75058 17.2229 2.81563C18.0103 2.87996 18.518 3.00359 18.9295 3.21322C19.7291 3.62068 20.3793 4.27085 20.7868 5.07054C20.9964 5.48197 21.12 5.9897 21.1844 6.77708C21.2494 7.57322 21.25 8.58749 21.25 10V14C21.25 15.4125 21.2494 16.4268 21.1844 17.2229C21.12 18.0103 20.9964 18.518 20.7868 18.9295C20.3793 19.7291 19.7291 20.3793 18.9295 20.7868C18.518 20.9964 18.0103 21.12 17.2229 21.1844C16.4268 21.2494 15.4125 21.25 14 21.25H10C8.58749 21.25 7.57322 21.2494 6.77708 21.1844C5.9897 21.12 5.48197 20.9964 5.07054 20.7868C4.27085 20.3793 3.62068 19.7291 3.21322 18.9295C3.00359 18.518 2.87996 18.0103 2.81563 17.2229C2.75058 16.4268 2.75 15.4125 2.75 14V10C2.75 8.58749 2.75058 7.57322 2.81563 6.77708C2.87996 5.9897 3.00359 5.48197 3.21322 5.07054C3.62068 4.27085 4.27085 3.62068 5.07054 3.21322Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6749 8.04877L17.1069 9.06975L16.2884 7.81273L17.8564 6.79175L18.6749 8.04877ZM15.2278 10.2932L13.3488 11.5167L12.5303 10.2597L14.4093 9.03622L15.2278 10.2932ZM11.4697 12.7402L9.59064 13.9637L8.77217 12.7067L10.6512 11.4832L11.4697 12.7402ZM7.71158 15.1872L6.14354 16.2082L5.32507 14.9511L6.89311 13.9302L7.71158 15.1872Z",fill:"currentColor"})]})),b7=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 25 26"},e,{children:[(0,g.jsx)("g",{filter:"url(#filter0_dd_0_1)",children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5143 8.8317C21.968 9.98998 22.2171 11.2515 22.2171 12.5685C22.2171 18.1883 17.699 22.7441 12.1256 22.7441C6.55221 22.7441 2.03409 18.1883 2.03409 12.5685C2.03409 6.94864 6.55221 2.39287 12.1256 2.39287C13.5315 2.39287 14.8732 2.68387 16.0922 3.20967L16.8081 2.5398L18.2922 4.15244L16.4787 5.84925C16.442 5.88357 16.4117 5.92331 16.3884 5.96664L16.3794 5.84326C15.833 5.49116 15.2409 5.2049 14.614 4.99557C13.8315 4.73429 12.9949 4.59287 12.1256 4.59287C7.75719 4.59287 4.21591 8.16366 4.21591 12.5685C4.21591 16.9733 7.75719 20.5441 12.1256 20.5441C16.494 20.5441 20.0353 16.9733 20.0353 12.5685C20.0353 11.7267 19.9059 10.9153 19.6662 10.1536C19.487 9.58397 19.246 9.04207 18.9512 8.53587C18.9373 8.51198 18.9233 8.48816 18.9091 8.46443L18.7121 8.4348C18.7433 8.4172 18.7726 8.39579 18.7993 8.37079L20.6127 6.67398C20.8923 6.41238 20.7476 5.94084 20.3704 5.88413L19.5058 5.75415C19.2954 5.72251 19.1348 5.54804 19.1192 5.3341L19.1013 5.08745L19.0969 5.02683M21.5143 8.8317L22.0968 8.28662C23.5973 6.88263 22.9896 4.43546 21.1557 3.81945C20.6834 1.92943 18.3085 1.13581 16.8081 2.5398L18.2922 4.15244C18.5717 3.89084 19.0273 4.07149 19.0552 4.45505L19.0969 5.02683M19.5729 5.3005L19.363 5.31604Z",className:"invertedFill"})}),(0,g.jsxs)("mask",{id:"path-2-outside-1_0_1",maskUnits:"userSpaceOnUse",x:"1.21591",y:"0.0292969",width:"23",height:"24",fill:"black",children:[(0,g.jsx)("rect",{fill:"white",x:"1.21591",y:"0.0292969",width:"23",height:"24"}),(0,g.jsx)("path",{d:"M12.1256 7.56053C13.1053 7.56053 14.0187 7.84656 14.7883 8.34033L13.9582 9.13878C13.4129 8.84191 12.7888 8.67341 12.1256 8.67341C9.99219 8.67341 8.26272 10.4173 8.26272 12.5685C8.26272 14.7196 9.99219 16.4635 12.1256 16.4635C14.259 16.4635 15.9885 14.7196 15.9885 12.5685C15.9885 11.9036 15.8232 11.2776 15.5319 10.7299L16.3536 9.93958C16.8219 10.7037 17.0921 11.6043 17.0921 12.5685C17.0921 15.3343 14.8685 17.5764 12.1256 17.5764C9.38264 17.5764 7.15905 15.3343 7.15905 12.5685C7.15905 9.80266 9.38264 7.56053 12.1256 7.56053Z"}),(0,g.jsx)("path",{d:"M12.237 10.2544C12.4096 10.2544 12.5775 10.2742 12.7388 10.3116L11.468 11.534C11.0228 11.9622 11.0062 12.6732 11.4309 13.1221C11.8556 13.571 12.5608 13.5878 13.0059 13.1596L14.3695 11.848C14.4316 12.0547 14.4651 12.2739 14.4651 12.5011C14.4651 13.7418 13.4675 14.7477 12.237 14.7477C11.0065 14.7477 10.0089 13.7418 10.0089 12.5011C10.0089 11.2603 11.0065 10.2544 12.237 10.2544Z"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7121 8.4348L18.9091 8.46442C19.6241 9.66341 20.0353 11.0675 20.0353 12.5685C20.0353 16.9733 16.494 20.5441 12.1256 20.5441C7.75719 20.5441 4.21591 16.9733 4.21591 12.5685C4.21591 8.16366 7.75719 4.59287 12.1256 4.59287C13.6915 4.59287 15.1511 5.05168 16.3794 5.84326L16.3884 5.96664C16.4117 5.92331 16.442 5.88357 16.4787 5.84925L18.2922 4.15244C18.5717 3.89083 19.0273 4.07149 19.0552 4.45505L19.1192 5.3341C19.1348 5.54804 19.2954 5.72251 19.5058 5.75415L20.3704 5.88413C20.7476 5.94084 20.8923 6.41238 20.6127 6.67398L18.7993 8.37079C18.7726 8.39579 18.7433 8.4172 18.7121 8.4348ZM12.3487 11.6184L16.4398 7.49313L16.383 6.80637L16.1483 7.03218C15.0214 6.19827 13.6305 5.70574 12.1256 5.70574C8.36674 5.70574 5.31959 8.77829 5.31959 12.5685C5.31959 16.3586 8.36674 19.4312 12.1256 19.4312C15.8844 19.4312 18.9316 16.3586 18.9316 12.5685C18.9316 11.1068 18.4784 9.75188 17.706 8.63874L17.9088 8.44364L17.1708 8.37962L12.976 12.2569L12.5446 12.6719C12.3665 12.8432 12.0844 12.8365 11.9146 12.6569C11.7447 12.4774 11.7513 12.1929 11.9294 12.0217L12.3487 11.6184Z"})]}),(0,g.jsx)("path",{d:"M12.1256 7.56053C13.1053 7.56053 14.0187 7.84656 14.7883 8.34033L13.9582 9.13878C13.4129 8.84191 12.7888 8.67341 12.1256 8.67341C9.99219 8.67341 8.26272 10.4173 8.26272 12.5685C8.26272 14.7196 9.99219 16.4635 12.1256 16.4635C14.259 16.4635 15.9885 14.7196 15.9885 12.5685C15.9885 11.9036 15.8232 11.2776 15.5319 10.7299L16.3536 9.93958C16.8219 10.7037 17.0921 11.6043 17.0921 12.5685C17.0921 15.3343 14.8685 17.5764 12.1256 17.5764C9.38264 17.5764 7.15905 15.3343 7.15905 12.5685C7.15905 9.80266 9.38264 7.56053 12.1256 7.56053Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M12.237 10.2544C12.4096 10.2544 12.5775 10.2742 12.7388 10.3116L11.468 11.534C11.0228 11.9622 11.0062 12.6732 11.4309 13.1221C11.8556 13.571 12.5608 13.5878 13.0059 13.1596L14.3695 11.848C14.4316 12.0547 14.4651 12.2739 14.4651 12.5011C14.4651 13.7418 13.4675 14.7477 12.237 14.7477C11.0065 14.7477 10.0089 13.7418 10.0089 12.5011C10.0089 11.2603 11.0065 10.2544 12.237 10.2544Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7121 8.4348L18.9091 8.46442C19.6241 9.66341 20.0353 11.0675 20.0353 12.5685C20.0353 16.9733 16.494 20.5441 12.1256 20.5441C7.75719 20.5441 4.21591 16.9733 4.21591 12.5685C4.21591 8.16366 7.75719 4.59287 12.1256 4.59287C13.6915 4.59287 15.1511 5.05168 16.3794 5.84326L16.3884 5.96664C16.4117 5.92331 16.442 5.88357 16.4787 5.84925L18.2922 4.15244C18.5717 3.89083 19.0273 4.07149 19.0552 4.45505L19.1192 5.3341C19.1348 5.54804 19.2954 5.72251 19.5058 5.75415L20.3704 5.88413C20.7476 5.94084 20.8923 6.41238 20.6127 6.67398L18.7993 8.37079C18.7726 8.39579 18.7433 8.4172 18.7121 8.4348ZM12.3487 11.6184L16.4398 7.49313L16.383 6.80637L16.1483 7.03218C15.0214 6.19827 13.6305 5.70574 12.1256 5.70574C8.36674 5.70574 5.31959 8.77829 5.31959 12.5685C5.31959 16.3586 8.36674 19.4312 12.1256 19.4312C15.8844 19.4312 18.9316 16.3586 18.9316 12.5685C18.9316 11.1068 18.4784 9.75188 17.706 8.63874L17.9088 8.44364L17.1708 8.37962L12.976 12.2569L12.5446 12.6719C12.3665 12.8432 12.0844 12.8365 11.9146 12.6569C11.7447 12.4774 11.7513 12.1929 11.9294 12.0217L12.3487 11.6184Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M12.1256 7.56053C13.1053 7.56053 14.0187 7.84656 14.7883 8.34033L13.9582 9.13878C13.4129 8.84191 12.7888 8.67341 12.1256 8.67341C9.99219 8.67341 8.26272 10.4173 8.26272 12.5685C8.26272 14.7196 9.99219 16.4635 12.1256 16.4635C14.259 16.4635 15.9885 14.7196 15.9885 12.5685C15.9885 11.9036 15.8232 11.2776 15.5319 10.7299L16.3536 9.93958C16.8219 10.7037 17.0921 11.6043 17.0921 12.5685C17.0921 15.3343 14.8685 17.5764 12.1256 17.5764C9.38264 17.5764 7.15905 15.3343 7.15905 12.5685C7.15905 9.80266 9.38264 7.56053 12.1256 7.56053Z",className:"invertedStroke",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#path-2-outside-1_0_1)"}),(0,g.jsx)("path",{d:"M12.237 10.2544C12.4096 10.2544 12.5775 10.2742 12.7388 10.3116L11.468 11.534C11.0228 11.9622 11.0062 12.6732 11.4309 13.1221C11.8556 13.571 12.5608 13.5878 13.0059 13.1596L14.3695 11.848C14.4316 12.0547 14.4651 12.2739 14.4651 12.5011C14.4651 13.7418 13.4675 14.7477 12.237 14.7477C11.0065 14.7477 10.0089 13.7418 10.0089 12.5011C10.0089 11.2603 11.0065 10.2544 12.237 10.2544Z",className:"invertedStroke",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#path-2-outside-1_0_1)"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7121 8.4348L18.9091 8.46442C19.6241 9.66341 20.0353 11.0675 20.0353 12.5685C20.0353 16.9733 16.494 20.5441 12.1256 20.5441C7.75719 20.5441 4.21591 16.9733 4.21591 12.5685C4.21591 8.16366 7.75719 4.59287 12.1256 4.59287C13.6915 4.59287 15.1511 5.05168 16.3794 5.84326L16.3884 5.96664C16.4117 5.92331 16.442 5.88357 16.4787 5.84925L18.2922 4.15244C18.5717 3.89083 19.0273 4.07149 19.0552 4.45505L19.1192 5.3341C19.1348 5.54804 19.2954 5.72251 19.5058 5.75415L20.3704 5.88413C20.7476 5.94084 20.8923 6.41238 20.6127 6.67398L18.7993 8.37079C18.7726 8.39579 18.7433 8.4172 18.7121 8.4348ZM12.3487 11.6184L16.4398 7.49313L16.383 6.80637L16.1483 7.03218C15.0214 6.19827 13.6305 5.70574 12.1256 5.70574C8.36674 5.70574 5.31959 8.77829 5.31959 12.5685C5.31959 16.3586 8.36674 19.4312 12.1256 19.4312C15.8844 19.4312 18.9316 16.3586 18.9316 12.5685C18.9316 11.1068 18.4784 9.75188 17.706 8.63874L17.9088 8.44364L17.1708 8.37962L12.976 12.2569L12.5446 12.6719C12.3665 12.8432 12.0844 12.8365 11.9146 12.6569C11.7447 12.4774 11.7513 12.1929 11.9294 12.0217L12.3487 11.6184Z",className:"invertedStroke",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#path-2-outside-1_0_1)"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_0_1",x:"0.884091",y:"0.676019",width:"23.2087",height:"24.368",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_0_1"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.15"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_0_1",result:"effect2_dropShadow_0_1"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_0_1",result:"shape"})]})})]})),b9=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 31 32"},e,{children:[(0,g.jsxs)("g",{filter:"url(#filter0_dd_1383_43)",children:[(0,g.jsx)("path",{d:"M4.17969 12.8959C4.17969 9.84493 4.17969 8.31945 4.77344 7.15414C5.29572 6.1291 6.1291 5.29572 7.15414 4.77344C8.31945 4.17969 9.84493 4.17969 12.8959 4.17969H17.254C20.3049 4.17969 21.8304 4.17969 22.9957 4.77344C24.0207 5.29572 24.8541 6.1291 25.3764 7.15414C25.9702 8.31945 25.9702 9.84493 25.9702 12.8959V17.254C25.9702 20.3049 25.9702 21.8304 25.3764 22.9957C24.8541 24.0207 24.0207 24.8541 22.9957 25.3764C21.8304 25.9702 20.3049 25.9702 17.254 25.9702H12.8959C9.84493 25.9702 8.31945 25.9702 7.15414 25.3764C6.1291 24.8541 5.29572 24.0207 4.77344 22.9957C4.17969 21.8304 4.17969 20.3049 4.17969 17.254V12.8959Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M3.43693 6.47315C3.01435 7.30251 2.84069 8.19458 2.75889 9.19574C2.67966 10.1655 2.67967 11.3608 2.67969 12.8324L2.67969 12.8959V17.254L2.67969 17.3175C2.67967 18.789 2.67966 19.9844 2.75889 20.9541C2.84069 21.9553 3.01435 22.8473 3.43693 23.6767C4.10302 24.984 5.16587 26.0468 6.47315 26.7129C7.30251 27.1355 8.19458 27.3092 9.19574 27.391C10.1655 27.4702 11.3608 27.4702 12.8323 27.4702H12.8959H17.254H17.3175C18.7891 27.4702 19.9844 27.4702 20.9541 27.391C21.9553 27.3092 22.8473 27.1355 23.6767 26.7129C24.984 26.0468 26.0468 24.984 26.7129 23.6767C27.1355 22.8473 27.3092 21.9553 27.391 20.9541C27.4702 19.9844 27.4702 18.7891 27.4702 17.3175V17.254V12.8959V12.8323C27.4702 11.3608 27.4702 10.1655 27.391 9.19574C27.3092 8.19458 27.1355 7.30251 26.7129 6.47316C26.0468 5.16587 24.984 4.10302 23.6767 3.43693C22.8473 3.01435 21.9553 2.84069 20.9541 2.75889C19.9844 2.67966 18.789 2.67967 17.3175 2.67969L17.254 2.67969H12.8959L12.8324 2.67969C11.3608 2.67967 10.1655 2.67966 9.19574 2.75889C8.19458 2.84069 7.30251 3.01435 6.47315 3.43693C5.16588 4.10302 4.10302 5.16588 3.43693 6.47315Z",className:"invertedStroke",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,g.jsx)("path",{d:"M4.17969 12.8959C4.17969 9.84493 4.17969 8.31945 4.77344 7.15414C5.29572 6.1291 6.1291 5.29572 7.15414 4.77344C8.31945 4.17969 9.84493 4.17969 12.8959 4.17969H17.254C20.3049 4.17969 21.8304 4.17969 22.9957 4.77344C24.0207 5.29572 24.8541 6.1291 25.3764 7.15414C25.9702 8.31945 25.9702 9.84493 25.9702 12.8959V17.254C25.9702 20.3049 25.9702 21.8304 25.3764 22.9957C24.8541 24.0207 24.0207 24.8541 22.9957 25.3764C21.8304 25.9702 20.3049 25.9702 17.254 25.9702H12.8959C9.84493 25.9702 8.31945 25.9702 7.15414 25.3764C6.1291 24.8541 5.29572 24.0207 4.77344 22.9957C4.17969 21.8304 4.17969 20.3049 4.17969 17.254V12.8959Z",className:"invertedFill"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8581 3.36133C11.3636 3.36132 10.1919 3.36132 9.25013 3.43826C8.2912 3.51661 7.499 3.67879 6.78195 4.04415C5.60316 4.64477 4.64477 5.60316 4.04415 6.78195C3.67879 7.499 3.51661 8.2912 3.43826 9.25013C3.36132 10.1919 3.36132 11.3636 3.36133 12.8581V17.2893C3.36132 18.7838 3.36132 19.9556 3.43826 20.8973C3.51661 21.8562 3.67879 22.6484 4.04415 23.3655C4.64477 24.5443 5.60316 25.5027 6.78195 26.1033C7.499 26.4686 8.2912 26.6308 9.25013 26.7092C10.1918 26.7861 11.3635 26.7861 12.858 26.7861H17.2893C18.7838 26.7861 19.9556 26.7861 20.8973 26.7092C21.8562 26.6308 22.6484 26.4686 23.3655 26.1033C24.5443 25.5027 25.5027 24.5443 26.1033 23.3655C26.4686 22.6484 26.6308 21.8562 26.7092 20.8973C26.7861 19.9556 26.7861 18.7839 26.7861 17.2894V12.8581C26.7861 11.3636 26.7861 10.1918 26.7092 9.25013C26.6308 8.2912 26.4686 7.499 26.1033 6.78195C25.5027 5.60316 24.5443 4.64477 23.3655 4.04415C22.6484 3.67879 21.8562 3.51661 20.8973 3.43826C19.9556 3.36132 18.7838 3.36132 17.2893 3.36133H12.8581ZM7.5239 5.50031C7.97216 5.27191 8.52535 5.13721 9.38322 5.06712C10.2506 4.99625 11.3557 4.99561 12.8947 4.99561H17.2528C18.7917 4.99561 19.8968 4.99625 20.7642 5.06712C21.6221 5.13721 22.1753 5.27191 22.6235 5.50031C23.4948 5.94425 24.2032 6.65262 24.6471 7.5239C24.8755 7.97216 25.0102 8.52535 25.0803 9.38322C25.1512 10.2506 25.1518 11.3557 25.1518 12.8947V17.2528C25.1518 18.7917 25.1512 19.8968 25.0803 20.7642C25.0102 21.6221 24.8755 22.1753 24.6471 22.6235C24.2032 23.4948 23.4948 24.2032 22.6235 24.6471C22.1753 24.8755 21.6221 25.0102 20.7642 25.0803C19.8968 25.1512 18.7917 25.1518 17.2528 25.1518H12.8947C11.3557 25.1518 10.2506 25.1512 9.38322 25.0803C8.52535 25.0102 7.97216 24.8755 7.5239 24.6471C6.65262 24.2032 5.94425 23.4948 5.50031 22.6235C5.27191 22.1753 5.13721 21.6221 5.06712 20.7642C4.99625 19.8968 4.99561 18.7917 4.99561 17.2528V12.8947C4.99561 11.3557 4.99625 10.2506 5.06712 9.38322C5.13721 8.52535 5.27191 7.97216 5.50031 7.5239C5.94425 6.65262 6.65262 5.94425 7.5239 5.50031Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.3457 10.7699L20.6373 11.8823L19.7456 10.5128L21.454 9.40039L22.3457 10.7699ZM18.59 13.2153L16.5428 14.5484L15.651 13.1788L17.6983 11.8458L18.59 13.2153ZM14.4955 15.8814L12.4482 17.2144L11.5565 15.8448L13.6038 14.5118L14.4955 15.8814ZM10.4009 18.5474L8.69252 19.6598L7.80078 18.2903L9.5092 17.1779L10.4009 18.5474Z",fill:"currentColor"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_1383_43",x:"0.0296799",y:"0.0296818",width:"30.0905",height:"31.2405",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1383_43"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.15"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1383_43",result:"effect2_dropShadow_1383_43"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1383_43",result:"shape"})]})})]})),b4=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 32 33"},e,{children:[(0,g.jsxs)("g",{filter:"url(#filter0_dd_1383_49)",children:[(0,g.jsx)("path",{d:"M5.17969 13.8959C5.17969 10.8449 5.17969 9.31945 5.77344 8.15414C6.29572 7.1291 7.1291 6.29572 8.15414 5.77344C9.31945 5.17969 10.8449 5.17969 13.8959 5.17969H18.254C21.3049 5.17969 22.8304 5.17969 23.9957 5.77344C25.0207 6.29572 25.8541 7.1291 26.3764 8.15414C26.9702 9.31945 26.9702 10.8449 26.9702 13.8959V18.254C26.9702 21.3049 26.9702 22.8304 26.3764 23.9957C25.8541 25.0207 25.0207 25.8541 23.9957 26.3764C22.8304 26.9702 21.3049 26.9702 18.254 26.9702H13.8959C10.8449 26.9702 9.31945 26.9702 8.15414 26.3764C7.1291 25.8541 6.29572 25.0207 5.77344 23.9957C5.17969 22.8304 5.17969 21.3049 5.17969 18.254V13.8959Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M4.43693 7.47315C4.01435 8.30251 3.84069 9.19458 3.75889 10.1957C3.67966 11.1655 3.67967 12.3608 3.67969 13.8324L3.67969 13.8959V18.254L3.67969 18.3175C3.67967 19.789 3.67966 20.9844 3.75889 21.9541C3.84069 22.9553 4.01435 23.8473 4.43693 24.6767C5.10302 25.984 6.16587 27.0468 7.47315 27.7129C8.30251 28.1355 9.19458 28.3092 10.1957 28.391C11.1655 28.4702 12.3608 28.4702 13.8323 28.4702H13.8959H18.254H18.3175C19.7891 28.4702 20.9844 28.4702 21.9541 28.391C22.9553 28.3092 23.8473 28.1355 24.6767 27.7129C25.984 27.0468 27.0468 25.984 27.7129 24.6767C28.1355 23.8473 28.3092 22.9553 28.391 21.9541C28.4702 20.9844 28.4702 19.7891 28.4702 18.3175V18.254V13.8959V13.8323C28.4702 12.3608 28.4702 11.1655 28.391 10.1957C28.3092 9.19458 28.1355 8.30251 27.7129 7.47316C27.0468 6.16587 25.984 5.10302 24.6767 4.43693C23.8473 4.01435 22.9553 3.84069 21.9541 3.75889C20.9844 3.67966 19.789 3.67967 18.3175 3.67969L18.254 3.67969H13.8959L13.8324 3.67969C12.3608 3.67967 11.1655 3.67966 10.1957 3.75889C9.19458 3.84069 8.30251 4.01435 7.47315 4.43693C6.16588 5.10302 5.10302 6.16588 4.43693 7.47315Z",className:"invertedStroke",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,g.jsx)("path",{d:"M5.17969 13.8959C5.17969 10.8449 5.17969 9.31945 5.77344 8.15414C6.29572 7.1291 7.1291 6.29572 8.15414 5.77344C9.31945 5.17969 10.8449 5.17969 13.8959 5.17969H18.254C21.3049 5.17969 22.8304 5.17969 23.9957 5.77344C25.0207 6.29572 25.8541 7.1291 26.3764 8.15414C26.9702 9.31945 26.9702 10.8449 26.9702 13.8959V18.254C26.9702 21.3049 26.9702 22.8304 26.3764 23.9957C25.8541 25.0207 25.0207 25.8541 23.9957 26.3764C22.8304 26.9702 21.3049 26.9702 18.254 26.9702H13.8959C10.8449 26.9702 9.31945 26.9702 8.15414 26.3764C7.1291 25.8541 6.29572 25.0207 5.77344 23.9957C5.17969 22.8304 5.17969 21.3049 5.17969 18.254V13.8959Z",className:"invertedFill"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8581 4.36133C12.3636 4.36132 11.1919 4.36132 10.2501 4.43826C9.2912 4.51661 8.499 4.67879 7.78195 5.04415C6.60316 5.64477 5.64477 6.60316 5.04415 7.78195C4.67879 8.499 4.51661 9.2912 4.43826 10.2501C4.36132 11.1919 4.36132 12.3636 4.36133 13.8581V18.2893C4.36132 19.7838 4.36132 20.9556 4.43826 21.8973C4.51661 22.8562 4.67879 23.6484 5.04415 24.3655C5.64477 25.5443 6.60316 26.5027 7.78195 27.1033C8.499 27.4686 9.2912 27.6308 10.2501 27.7092C11.1918 27.7861 12.3635 27.7861 13.858 27.7861H18.2893C19.7838 27.7861 20.9556 27.7861 21.8973 27.7092C22.8562 27.6308 23.6484 27.4686 24.3655 27.1033C25.5443 26.5027 26.5027 25.5443 27.1033 24.3655C27.4686 23.6484 27.6308 22.8562 27.7092 21.8973C27.7861 20.9556 27.7861 19.7839 27.7861 18.2894V13.8581C27.7861 12.3636 27.7861 11.1918 27.7092 10.2501C27.6308 9.2912 27.4686 8.499 27.1033 7.78195C26.5027 6.60316 25.5443 5.64477 24.3655 5.04415C23.6484 4.67879 22.8562 4.51661 21.8973 4.43826C20.9556 4.36132 19.7838 4.36132 18.2893 4.36133H13.8581ZM8.5239 6.50031C8.97216 6.27191 9.52535 6.13721 10.3832 6.06712C11.2506 5.99625 12.3557 5.99561 13.8947 5.99561H18.2528C19.7917 5.99561 20.8968 5.99625 21.7642 6.06712C22.6221 6.13721 23.1753 6.27191 23.6235 6.50031C24.4948 6.94425 25.2032 7.65262 25.6471 8.5239C25.8755 8.97216 26.0102 9.52535 26.0803 10.3832C26.1512 11.2506 26.1518 12.3557 26.1518 13.8947V18.2528C26.1518 19.7917 26.1512 20.8968 26.0803 21.7642C26.0102 22.6221 25.8755 23.1753 25.6471 23.6235C25.2032 24.4948 24.4948 25.2032 23.6235 25.6471C23.1753 25.8755 22.6221 26.0102 21.7642 26.0803C20.8968 26.1512 19.7917 26.1518 18.2528 26.1518H13.8947C12.3557 26.1518 11.2506 26.1512 10.3832 26.0803C9.52535 26.0102 8.97216 25.8755 8.5239 25.6471C7.65262 25.2032 6.94425 24.4948 6.50031 23.6235C6.27191 23.1753 6.13721 22.6221 6.06712 21.7642C5.99625 20.8968 5.99561 19.7917 5.99561 18.2528V13.8947C5.99561 12.3557 5.99625 11.2506 6.06712 10.3832C6.13721 9.52535 6.27191 8.97216 6.50031 8.5239C6.94425 7.65262 7.65262 6.94425 8.5239 6.50031Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.2128 16.4155L22.1742 16.3988L22.1875 14.7646L24.2261 14.7812L24.2128 16.4155ZM19.7313 16.3789L17.2884 16.359L17.3017 14.7247L19.7446 14.7447L19.7313 16.3789ZM14.8454 16.339L12.4025 16.3191L12.4158 14.6849L14.8588 14.7048L14.8454 16.339ZM9.95958 16.2992L7.921 16.2825L7.93434 14.6483L9.97292 14.6649L9.95958 16.2992Z",fill:"currentColor"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_1383_49",x:"0.926728",y:"0.926729",width:"30.2964",height:"31.5493",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.626476"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1383_49"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.25295"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.626476"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1383_49",result:"effect2_dropShadow_1383_49"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1383_49",result:"shape"})]})})]})),b6=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fill:"currentColor",d:"M19.544 3.75c-1.39-1.433-4.636-1.791-6.085-1.791-6.955.895-9.563 4.477-10.432 9.85-.87 5.373 5.216 9.85 6.954 10.746 1.74.895 6.955 0 7.824-.896.87-.895 1.74-2.686 0-3.581-1.738-.896-.869-2.687-.869-3.582 0-.896 2.608-1.791 4.347-3.582 1.738-1.791 0-5.373-1.739-7.164z",opacity:"0.12"}),(0,g.jsx)("path",{fill:"currentColor",d:"M14.57 9.107a1.906 1.906 0 100-3.812 1.906 1.906 0 000 3.812zM9.137 10.727a1.81 1.81 0 100-3.622 1.81 1.81 0 000 3.622zM9.137 14.158a1.43 1.43 0 11-2.86 0 1.43 1.43 0 012.86 0zM10.185 19.114a1.43 1.43 0 100-2.86 1.43 1.43 0 000 2.86z"}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M18.81 13.81c-1.385.966-2.442 1.703-1.533 2.938.247.294.577.478.905.662.392.22.783.438 1.03.841 1.614 2.49-1.216 4.994-3.572 5.415-4.493 1.088-8.794-.549-11.502-3.95C-1.9 11.957 4.394.402 14.185 1.164c3.236.165 6.764 1.844 7.83 5.1 1.378 4.353-1.243 6.18-3.205 7.548zM14.074 2.589C5.507 1.921.004 12.066 5.261 18.833c2.375 2.977 6.113 4.395 10.043 3.444l.042-.01.043-.008c.852-.152 1.838-.71 2.414-1.423.277-.342.411-.66.445-.928.03-.242-.008-.528-.236-.879l-.01-.016-.01-.016c-.014-.023-.056-.085-.416-.288a8.782 8.782 0 00-.091-.05c-.306-.17-.872-.48-1.301-.99l-.03-.036-.029-.038c-.418-.569-.697-1.259-.597-2.033.096-.737.503-1.286.866-1.661.363-.376.811-.708 1.21-.99l.414-.291c.278-.193.545-.38.826-.591.816-.614 1.459-1.239 1.815-2.012.333-.723.491-1.745-.005-3.315-.809-2.46-3.613-3.962-6.542-4.111l-.019-.001-.019-.002z"})]})),b8=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fill:"currentColor",d:"M2.32698 3.63803C2 4.27976 2 5.11984 2 6.8V17.2C2 18.8802 2 19.7202 2.32698 20.362C2.6146 20.9265 3.07354 21.3854 3.63803 21.673C4.27976 22 5.11984 22 6.8 22H12H17.5C18.8978 22 19.5967 22 20.1481 21.7716C20.8831 21.4672 21.4672 20.8831 21.7716 20.1481C22 19.5967 22 18.8978 22 17.5V17C22 16.07 22 15.605 21.8978 15.2235C21.6204 14.1883 20.8117 13.3796 19.7765 13.1022C19.395 13 18.93 13 18 13L12 20V6.8C12 5.11984 12 4.27976 11.673 3.63803C11.3854 3.07354 10.9265 2.6146 10.362 2.32698C9.72024 2 8.88016 2 7.2 2H6.8C5.11984 2 4.27976 2 3.63803 2.32698C3.07354 2.6146 2.6146 3.07354 2.32698 3.63803Z",opacity:"0.12"}),(0,g.jsx)("path",{fill:"currentColor",d:"M8 17C8 17.5523 7.55228 18 7 18C6.44772 18 6 17.5523 6 17C6 16.4477 6.44772 16 7 16C7.55228 16 8 16.4477 8 17Z"}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M6.7679 1.25C5.95506 1.24999 5.29944 1.24999 4.76853 1.29336C4.2219 1.33803 3.74175 1.43239 3.29754 1.65873C2.59193 2.01825 2.01825 2.59193 1.65873 3.29754C1.43239 3.74175 1.33803 4.2219 1.29336 4.76853C1.24999 5.29944 1.24999 5.95505 1.25 6.76788V17.2321C1.24999 18.0449 1.24999 18.7006 1.29336 19.2315C1.33803 19.7781 1.43239 20.2582 1.65873 20.7025C2.01825 21.4081 2.59193 21.9817 3.29754 22.3413C3.74175 22.5676 4.2219 22.662 4.76853 22.7066C5.29944 22.75 5.95505 22.75 6.76788 22.75H17.5266C18.203 22.75 18.7485 22.75 19.1925 22.7197C19.6491 22.6886 20.0528 22.6229 20.4351 22.4645C21.3539 22.0839 22.0839 21.3539 22.4645 20.4351C22.6229 20.0528 22.6886 19.6491 22.7197 19.1925C22.75 18.7485 22.75 18.203 22.75 17.5266L22.75 16.8842C22.7503 16.0663 22.7505 15.5081 22.6222 15.0294C22.2755 13.7353 21.2647 12.7245 19.9706 12.3778C19.7807 12.3269 19.5782 12.2962 19.3521 12.2778L19.7907 11.7467C20.3053 11.1243 20.6574 10.6984 20.8642 10.243C21.3632 9.14398 21.3027 7.8719 20.7017 6.82515C20.4526 6.39148 20.0617 6.00085 19.4905 5.43004L19.3226 5.26222C18.7015 4.64075 18.2775 4.21651 17.8111 3.95918C16.6835 3.33701 15.3154 3.33706 14.1878 3.95933C13.7355 4.20889 13.3232 4.61539 12.7324 5.20648C12.7262 5.05176 12.7179 4.90597 12.7066 4.76853C12.662 4.2219 12.5676 3.74175 12.3413 3.29754C11.9817 2.59193 11.4081 2.01825 10.7025 1.65873C10.2582 1.43239 9.77811 1.33803 9.23147 1.29336C8.70056 1.24999 8.04495 1.24999 7.23212 1.25H6.7679ZM11.25 7.00026C11.25 6.99985 11.25 6.99944 11.25 6.99902V6.8C11.25 5.94755 11.2494 5.35331 11.2116 4.89068C11.1745 4.43681 11.1054 4.17604 11.0048 3.97852C10.789 3.55516 10.4448 3.21095 10.0215 2.99524C9.82396 2.8946 9.5632 2.82547 9.10932 2.78838C8.64669 2.75058 8.05245 2.75 7.2 2.75H6.8C5.94755 2.75 5.35331 2.75058 4.89068 2.78838C4.43681 2.82547 4.17604 2.8946 3.97852 2.99524C3.55516 3.21095 3.21095 3.55516 2.99524 3.97852C2.8946 4.17604 2.82547 4.43681 2.78838 4.89068C2.75058 5.35331 2.75 5.94755 2.75 6.8V17.2C2.75 18.0525 2.75058 18.6467 2.78838 19.1093C2.82547 19.5632 2.8946 19.824 2.99524 20.0215C3.21095 20.4448 3.55516 20.789 3.97852 21.0048C4.17604 21.1054 4.43681 21.1745 4.89068 21.2116C5.35331 21.2494 5.94755 21.25 6.8 21.25H11.25V20.0051C11.25 20.0014 11.25 19.9977 11.25 19.994V7.00026ZM12.75 17.9145V7.31029L13.6491 6.4111C14.3923 5.66788 14.6571 5.41355 14.9125 5.27263C15.5891 4.89927 16.4099 4.89924 17.0865 5.27254C17.3419 5.41344 17.6067 5.66775 18.35 6.41091C19.0317 7.0926 19.2644 7.33436 19.4009 7.57211C19.7615 8.20016 19.7978 8.96341 19.4984 9.62284C19.385 9.87246 19.1764 10.1352 18.5623 10.8785L12.75 17.9145ZM12.75 20.2697V21.25H17.5C18.2092 21.25 18.7035 21.2496 19.0904 21.2232C19.4706 21.1973 19.692 21.1487 19.861 21.0787C20.4123 20.8504 20.8504 20.4124 21.0787 19.861C21.1487 19.692 21.1973 19.4706 21.2232 19.0904C21.2496 18.7035 21.25 18.2092 21.25 17.5V17C21.25 16.0217 21.2436 15.6797 21.1733 15.4177C20.9653 14.6412 20.3588 14.0347 19.5823 13.8267C19.3328 13.7598 19.0107 13.7508 18.1358 13.7501L12.75 20.2697Z"})]})),Ce=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{fill:"currentColor",d:"M13.6 2H10.4C8.15979 2 7.03969 2 6.18404 2.43597C5.43139 2.81947 4.81947 3.43139 4.43597 4.18404C4 5.03969 4 6.15979 4 8.4V9C4 9 8 11 12 11C16 11 20 9 20 9V8.4C20 6.15979 20 5.03969 19.564 4.18404C19.1805 3.43139 18.5686 2.81947 17.816 2.43597C16.9603 2 15.8402 2 13.6 2Z",opacity:"0.12"}),(0,g.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M7.16822 1.25C5.00432 1.25 3.25014 3.00418 3.25014 5.16808V8.98478C3.24995 8.99447 3.24995 9.00416 3.25014 9.01384V10.5978C3.25014 12.3541 4.24243 13.9597 5.8133 14.7451L7.92711 15.802C8.66545 16.1712 9.07667 16.9787 8.94097 17.793L8.75354 18.9175C8.41918 20.9237 9.96627 22.75 12.0001 22.75C14.034 22.75 15.5811 20.9237 15.2467 18.9175L15.0593 17.793C14.9236 16.9787 15.3348 16.1712 16.0732 15.802L18.187 14.7451C19.7579 13.9597 20.7501 12.3541 20.7501 10.5978V9.01243C20.7503 9.00369 20.7503 8.99494 20.7501 8.98619V5.16808C20.7501 3.00418 18.996 1.25 16.8321 1.25H7.16822ZM19.2501 8.54432V5.16808C19.2501 3.83261 18.1675 2.75 16.8321 2.75H13.7501V4C13.7501 4.41421 13.4144 4.75 13.0001 4.75C12.5859 4.75 12.2501 4.41421 12.2501 4V2.75H9.75014V6C9.75014 6.41421 9.41435 6.75 9.00014 6.75C8.58593 6.75 8.25014 6.41421 8.25014 6V2.75H7.16822C5.83275 2.75 4.75014 3.83261 4.75014 5.16808V8.54433C4.80645 8.57193 4.8687 8.6019 4.93666 8.63389C5.31492 8.81189 5.86859 9.05148 6.55902 9.29163C7.94338 9.77314 9.85777 10.25 12.0001 10.25C14.1425 10.25 16.0569 9.77314 17.4412 9.29163C18.1317 9.05148 18.6853 8.81189 19.0636 8.63389C19.1316 8.6019 19.1938 8.57192 19.2501 8.54432ZM4.75014 10.1955V10.5978C4.75014 11.786 5.42142 12.8721 6.48412 13.4035L8.59793 14.4604C9.92526 15.124 10.6645 16.5758 10.4206 18.0396L10.2331 19.1641C10.0511 20.256 10.8932 21.25 12.0001 21.25C13.1071 21.25 13.9491 20.256 13.7671 19.1641L13.5797 18.0396C13.3358 16.5758 14.075 15.124 15.4023 14.4604L17.5162 13.4035C18.5789 12.8721 19.2501 11.786 19.2501 10.5978V10.1955C18.8872 10.3531 18.4443 10.5309 17.934 10.7084C16.4434 11.2269 14.3578 11.75 12.0001 11.75C9.64249 11.75 7.55688 11.2269 6.06624 10.7084C5.55593 10.5309 5.11303 10.3531 4.75014 10.1955Z"})]})),Ct=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("circle",{opacity:.12,cx:12,cy:12,r:5,fill:"currentColor"}),(0,g.jsx)("path",{d:"M12 1C12.5523 1 13 1.44771 13 2L13 4C13 4.55228 12.5523 5 12 5C11.4477 5 11 4.55229 11 4L11 2C11 1.44772 11.4477 1 12 1Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 0.990845C12.6149 0.990845 13.1134 1.48928 13.1134 2.10413L13.1134 4.08329C13.1134 4.69814 12.6149 5.19657 12.0001 5.19657C11.3852 5.19657 10.8868 4.69814 10.8868 4.08329L10.8868 2.10413C10.8868 1.48928 11.3852 0.990845 12.0001 0.990845ZM12.0001 18.8033C12.6149 18.8033 13.1134 19.3018 13.1134 19.9166L13.1134 21.8958C13.1134 22.5106 12.6149 23.0091 12.0001 23.0091C11.3852 23.0091 10.8868 22.5106 10.8868 21.8958L10.8868 19.9166C10.8868 19.3018 11.3852 18.8033 12.0001 18.8033ZM11.9998 7.8021C9.6814 7.8021 7.80193 9.68157 7.80193 12C7.80193 14.3185 9.6814 16.1979 11.9998 16.1979C14.3183 16.1979 16.1978 14.3185 16.1978 12C16.1978 9.68157 14.3183 7.8021 11.9998 7.8021ZM6.30193 12C6.30193 8.85315 8.85297 6.3021 11.9998 6.3021C15.1467 6.3021 17.6978 8.85315 17.6978 12C17.6978 15.1469 15.1467 17.6979 11.9998 17.6979C8.85297 17.6979 6.30193 15.1469 6.30193 12ZM2.10449 10.8867C1.48964 10.8867 0.991211 11.3851 0.991211 12C0.991211 12.6148 1.48964 13.1133 2.10449 13.1133H4.08366C4.6985 13.1133 5.19694 12.6148 5.19694 12C5.19694 11.3851 4.6985 10.8867 4.08366 10.8867H2.10449ZM19.917 10.8867C19.3021 10.8867 18.8037 11.3851 18.8037 12C18.8037 12.6148 19.3021 13.1133 19.917 13.1133H21.8962C22.511 13.1133 23.0094 12.6148 23.0094 12C23.0094 11.3851 22.511 10.8867 21.8962 10.8867H19.917ZM3.79101 3.79042C4.22577 3.35566 4.93066 3.35567 5.36542 3.79044L6.84982 5.27486C7.28458 5.70962 7.28458 6.41451 6.84981 6.84927C6.41504 7.28403 5.71015 7.28403 5.27539 6.84926L3.79099 5.36484C3.35623 4.93007 3.35624 4.22518 3.79101 3.79042ZM17.1504 17.1498C17.5851 16.7151 18.29 16.7151 18.7248 17.1498L20.2092 18.6342C20.6439 19.069 20.6439 19.7739 20.2092 20.2086C19.7744 20.6434 19.0695 20.6434 18.6348 20.2086L17.1504 18.7242C16.7156 18.2895 16.7156 17.5846 17.1504 17.1498ZM3.791 18.6347C3.35624 19.0694 3.35624 19.7743 3.791 20.2091C4.22576 20.6438 4.93065 20.6438 5.36542 20.2091L6.84979 18.7247C7.28456 18.2899 7.28456 17.585 6.84979 17.1503C6.41503 16.7155 5.71014 16.7155 5.27538 17.1503L3.791 18.6347ZM17.1504 5.27528C16.7156 5.71004 16.7156 6.41494 17.1504 6.8497C17.5851 7.28446 18.29 7.28446 18.7248 6.8497L20.2092 5.36532C20.6439 4.93056 20.6439 4.22567 20.2092 3.79091C19.7744 3.35614 19.0695 3.35614 18.6348 3.79091L17.1504 5.27528Z",fill:"currentColor"})]})),Cn=e=>(0,g.jsxs)(x0,Object.assign({},e,{children:[(0,g.jsx)("path",{opacity:.12,d:"M3.09375 11.4547C3.09375 16.6747 7.21936 20.9063 12.3086 20.9063C16.2264 20.9063 19.5732 18.3985 20.9062 14.8625C19.8505 15.3711 18.6716 15.6554 17.4279 15.6554C12.9042 15.6554 9.23696 11.894 9.23696 7.254C9.23696 5.31345 9.87839 3.52657 10.9556 2.10425C6.50784 2.77548 3.09375 6.70615 3.09375 11.4547Z",fill:"currentColor"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6004 1.72107C11.7562 1.98333 11.7377 2.31385 11.5535 2.55704C10.5725 3.85229 9.98696 5.48094 9.98696 7.25396C9.98696 11.4978 13.3362 14.9054 17.4279 14.9054C18.556 14.9054 19.6239 14.6478 20.5807 14.1868C20.857 14.0537 21.1864 14.1021 21.4126 14.3092C21.6388 14.5162 21.7162 14.8401 21.608 15.127C20.1719 18.9364 16.558 21.6563 12.3086 21.6563C6.78732 21.6563 2.34375 17.0708 2.34375 11.4547C2.34375 6.34384 6.02053 2.0905 10.8437 1.36261C11.1454 1.31709 11.4445 1.45881 11.6004 1.72107ZM9.36549 3.29348C6.14967 4.52009 3.84375 7.70264 3.84375 11.4547C3.84375 16.2785 7.6514 20.1563 12.3086 20.1563C15.2827 20.1563 17.9084 18.5773 19.4197 16.1773C18.7789 16.3266 18.1122 16.4054 17.4279 16.4054C12.4721 16.4054 8.48696 12.2901 8.48696 7.25396C8.48696 5.83655 8.80221 4.49281 9.36549 3.29348Z",fill:"currentColor"})]})),Cr=e=>(0,g.jsx)(x0,Object.assign({},e,{children:(0,g.jsx)("path",{d:"M7.52524 22.9993C7.2661 23.0012 7.00938 22.9493 6.77132 22.8469C6.53326 22.7445 6.31902 22.5939 6.14215 22.4045L5.82983 22.0921L5.44316 22.345L4.78879 22.9993H0L3.36108 19.6383L3.04876 19.2665C2.84135 19.0784 2.67588 18.8488 2.56313 18.5926C2.45038 18.3363 2.39289 18.0592 2.3944 17.7793C2.39368 17.5225 2.44617 17.2683 2.54856 17.0329C2.65094 16.7974 2.801 16.5856 2.98928 16.411L16.8054 2.59493C16.9823 2.40552 17.1965 2.25486 17.4346 2.15247C17.6726 2.05008 17.9293 1.99818 18.1885 2.00005C18.4454 1.99843 18.6998 2.0505 18.9354 2.15295C19.1711 2.25539 19.3827 2.40593 19.5567 2.59493L22.7244 5.88165C22.9122 6.05825 23.0618 6.2714 23.164 6.50798C23.2663 6.74457 23.319 6.99957 23.319 7.25731C23.319 7.51504 23.2663 7.77005 23.164 8.00663C23.0618 8.24322 22.9122 8.45637 22.7244 8.63297L8.90834 22.4491C8.7271 22.6297 8.51104 22.7716 8.27329 22.8662C8.03553 22.9608 7.78103 23.0061 7.52524 22.9993ZM3.73288 17.8685L7.52524 21.6609L14.2177 14.9685L10.4253 11.191L3.73288 17.8685ZM11.5258 10.0904L15.3033 13.8679L21.966 7.20526L18.1885 3.42776L11.5258 10.0904Z",fill:"currentColor"})})),Ci=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 31 33"},e,{children:[(0,g.jsx)("g",{filter:"url(#filter0_dd_1373_19)",children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.7417 6.23664C25.7417 6.09417 25.7076 5.95967 25.6471 5.84086C25.5633 5.67624 25.4288 5.54173 25.2641 5.4579C25.1453 5.39739 25.0108 5.36328 24.8684 5.36328H12.0591C11.5767 5.36328 11.1857 5.7543 11.1857 6.23664C11.1857 6.71899 11.5767 7.11 12.0591 7.11H22.7599L5.61908 24.2508C5.27801 24.5919 5.27801 25.1448 5.61908 25.4859C5.96015 25.827 6.51313 25.827 6.8542 25.4859L23.995 8.34513V19.0459C23.995 19.5283 24.386 19.9193 24.8684 19.9193C25.3507 19.9193 25.7417 19.5283 25.7417 19.0459V6.23664ZM20.995 15.5878V19.0459C20.995 21.1851 22.7292 22.9193 24.8684 22.9193C27.0076 22.9193 28.7417 21.1851 28.7417 19.0459V6.23664C28.7417 4.09744 27.0076 2.36328 24.8684 2.36328H12.0591C9.91985 2.36328 8.18569 4.09744 8.18569 6.23664C8.18569 8.37584 9.91985 10.11 12.0591 10.11H15.5172L3.49777 22.1295C1.98512 23.6421 1.98513 26.0946 3.49776 27.6072C5.0104 29.1199 7.46288 29.1199 8.97552 27.6072L20.995 15.5878Z",className:"invertedFill"})}),(0,g.jsx)("path",{d:"M12.0591 7.11C11.5767 7.11 11.1857 6.71899 11.1857 6.23664C11.1857 5.7543 11.5767 5.36328 12.0591 5.36328H24.8684C25.3507 5.36328 25.7417 5.7543 25.7417 6.23664V19.0459C25.7417 19.5283 25.3507 19.9193 24.8684 19.9193C24.386 19.9193 23.995 19.5283 23.995 19.0459V8.34512L6.8542 25.4859C6.51313 25.827 5.96015 25.827 5.61908 25.4859C5.27801 25.1448 5.27801 24.5919 5.61908 24.2508L22.7599 7.11H12.0591Z",fill:"currentColor"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_1373_19",x:"1.19152",y:"1.19152",width:"28.722",height:"29.8937",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.58588"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1373_19"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.17176"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.58588"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1373_19",result:"effect2_dropShadow_1373_19"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1373_19",result:"shape"})]})})]})),Co=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 32 33"},e,{children:[(0,g.jsx)("g",{filter:"url(#filter0_dd_1383_13)",children:(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.89961 14.7968C3.08522 13.5116 1.89961 11.3966 1.89961 9.00039C1.89961 5.07917 5.07839 1.90039 8.99961 1.90039C10.7798 1.90039 12.4069 2.55553 13.6531 3.63785C14.3179 3.17306 15.1269 2.90039 15.9996 2.90039L22.9996 2.90039C25.264 2.90039 27.0996 4.73602 27.0996 7.00039L27.0996 9.7243C27.5717 9.92414 28.014 10.2165 28.3987 10.6013C29.9999 12.2024 29.9999 14.7984 28.3987 16.3995L27.9182 16.8801C29.2628 18.172 30.0996 19.9885 30.0996 22.0004C30.0996 25.9216 26.9208 29.1004 22.9996 29.1004C21.2195 29.1004 19.5923 28.4453 18.3461 27.3629C17.6813 27.8277 16.8723 28.1004 15.9996 28.1004L8.99961 28.1004C6.73524 28.1004 4.89961 26.2648 4.89961 24.0004L4.89961 14.7968Z",className:"invertedFill"})}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.25 22C25.25 20.7574 24.2426 19.75 23 19.75C21.7574 19.75 20.75 20.7574 20.75 22C20.75 23.2426 21.7574 24.25 23 24.25C24.2426 24.25 25.25 23.2426 25.25 22ZM23 18.25C25.0711 18.25 26.75 19.9289 26.75 22C26.75 24.0711 25.0711 25.75 23 25.75C20.9289 25.75 19.25 24.0711 19.25 22C19.25 19.9289 20.9289 18.25 23 18.25ZM11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25C10.2426 11.25 11.25 10.2426 11.25 9ZM9.75 12.675C11.4617 12.3275 12.75 10.8142 12.75 9C12.75 6.92893 11.0711 5.25 9 5.25C6.92893 5.25 5.25 6.92893 5.25 9C5.25 10.8142 6.53832 12.3275 8.25 12.675L8.25 24C8.25 24.4142 8.58579 24.75 9 24.75L16 24.75C16.4142 24.75 16.75 24.4142 16.75 24L16.75 7.75L22.25 7.75L22.25 14.1893L21.0303 12.9697C20.7374 12.6768 20.2626 12.6768 19.9697 12.9697C19.6768 13.2626 19.6768 13.7374 19.9697 14.0303L22.4697 16.5303C22.7626 16.8232 23.2374 16.8232 23.5303 16.5303L26.0303 14.0303C26.3232 13.7374 26.3232 13.2626 26.0303 12.9697C25.7374 12.6768 25.2626 12.6768 24.9697 12.9697L23.75 14.1893L23.75 7C23.75 6.58579 23.4142 6.25 23 6.25L16 6.25C15.5858 6.25 15.25 6.58579 15.25 7L15.25 23.25L9.75 23.25L9.75 12.675Z",fill:"currentColor"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_1383_13",x:"0.74961",y:"0.750391",width:"30.5",height:"30.65",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1383_13"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.15"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1383_13",result:"effect2_dropShadow_1383_13"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1383_13",result:"shape"})]})})]})),Cl=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 33 32"},e,{children:[(0,g.jsx)("g",{clipPath:"url(#clip0_1383_26)",children:(0,g.jsxs)("g",{filter:"url(#filter0_dd_1383_26)",children:[(0,g.jsx)("path",{d:"M11.0466 26.3997C10.7734 26.4017 10.5027 26.347 10.2518 26.2391C10.0008 26.1311 9.77495 25.9723 9.58848 25.7726L9.25923 25.4434L8.16174 26.3997H3.45263C3.3274 26.3997 3.26469 26.2483 3.35324 26.1598L6.65661 22.8564L6.32736 22.4645C6.1087 22.2662 5.93426 22.0242 5.8154 21.754C5.69654 21.4839 5.63592 21.1917 5.63751 20.8966C5.63676 20.6259 5.69209 20.358 5.80003 20.1097C5.90797 19.8615 6.06616 19.6383 6.26465 19.4542L20.8299 4.88891C21.0164 4.68923 21.2423 4.5304 21.4932 4.42246C21.7442 4.31451 22.0148 4.2598 22.288 4.26177C22.5589 4.26006 22.8271 4.31496 23.0755 4.42296C23.3239 4.53095 23.547 4.68966 23.7304 4.88891L27.07 8.35385C27.2679 8.54002 27.4256 8.76474 27.5333 9.01415C27.6411 9.26356 27.6968 9.53239 27.6968 9.8041C27.6968 10.0758 27.6411 10.3446 27.5333 10.5941C27.4256 10.8435 27.2679 11.0682 27.07 11.2544L12.5047 25.8196C12.3136 26.0101 12.0858 26.1597 11.8352 26.2594C11.5845 26.3591 11.3162 26.4069 11.0466 26.3997ZM7.04857 20.9907L11.0466 24.9887L18.1019 17.9334L14.1039 13.9511L7.04857 20.9907ZM15.2641 12.7908L19.2464 16.7732L26.2704 9.74923L22.288 5.7669L15.2641 12.7908Z",fill:"currentColor"}),(0,g.jsx)("path",{d:"M15.9785 17.9355L11.0466 22.8674L9.17107 20.9919L14.1048 16.0691L15.9785 17.9355ZM23.6736 3.04735C23.2367 2.85738 22.7651 2.76015 22.2887 2.76175C21.8115 2.75969 21.339 2.85593 20.9006 3.04451C20.468 3.23057 20.0778 3.50255 19.7537 3.84385L5.22113 18.3764C4.88174 18.6971 4.61069 19.0832 4.42443 19.5116C4.2347 19.948 4.13703 20.4188 4.13751 20.8946C4.13565 21.3984 4.23951 21.897 4.44243 22.3581C4.50154 22.4925 4.56867 22.6228 4.64335 22.7484L2.29258 25.0991L3.34995 26.1565L2.29257 25.0991C1.2591 26.1326 1.99102 27.8997 3.45263 27.8997H8.16174H8.72361L9.14721 27.5306L9.27257 27.4214C9.39694 27.4944 9.52602 27.5598 9.6591 27.617C10.0929 27.8036 10.5602 27.8998 11.0323 27.8998C11.4965 27.9087 11.958 27.8249 12.3897 27.6531C12.8292 27.4783 13.2285 27.216 13.5635 26.8821L13.5653 26.8803L28.1167 12.329C28.4548 12.0061 28.7247 11.6185 28.9103 11.1892C29.0993 10.7519 29.1968 10.2805 29.1968 9.8041C29.1968 9.3277 29.0993 8.85635 28.9103 8.41905C28.7268 7.99456 28.4609 7.61087 28.1281 7.29017L24.8206 3.8585C24.4981 3.51223 24.1077 3.23608 23.6736 3.04735L23.0755 4.42296L23.6736 3.04735ZM22.288 7.88822L24.149 9.74923L19.2464 14.6519L17.3854 12.7908L22.288 7.88822Z",className:"invertedStroke",strokeWidth:"3"})]})}),(0,g.jsxs)("defs",{children:[(0,g.jsxs)("filter",{id:"filter0_dd_1383_26",x:"-1.06201",y:"-0.10607",width:"33.1266",height:"32.2421",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.683895"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1383_26"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.36779"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.683895"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1383_26",result:"effect2_dropShadow_1383_26"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1383_26",result:"shape"})]}),(0,g.jsx)("clipPath",{id:"clip0_1383_26",children:(0,g.jsx)("rect",{width:"32",height:"32",fill:"white"})})]})]})),Ca=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 32 32"},e,{children:[(0,g.jsxs)("g",{filter:"url(#filter0_dd_92_29)",children:[(0,g.jsx)("path",{d:"M11 21H21V11H11V21ZM29 23C29 26.3137 26.3137 29 23 29H9C5.68629 29 3 26.3137 3 23V9C3 5.68629 5.68629 3 9 3H23C26.3137 3 29 5.68629 29 9V23Z",className:"invertedFill"}),(0,g.jsx)("path",{d:"M24.25 9C24.25 8.30964 23.6904 7.75 23 7.75H9C8.30964 7.75 7.75 8.30964 7.75 9V23C7.75 23.6904 8.30964 24.25 9 24.25H23C23.6904 24.25 24.25 23.6904 24.25 23V9ZM25.75 23C25.75 24.5188 24.5188 25.75 23 25.75H9C7.48122 25.75 6.25 24.5188 6.25 23V9C6.25 7.48122 7.48122 6.25 9 6.25H23C24.5188 6.25 25.75 7.48122 25.75 9V23Z",fill:"currentColor"})]}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_92_29",x:"-1.17176",y:"-1.17176",width:"34.3435",height:"35.5153",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.58588"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_92_29"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.17176"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.58588"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_92_29",result:"effect2_dropShadow_92_29"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_92_29",result:"shape"})]})})]})),Cs=e=>(0,g.jsxs)(x0,Object.assign({viewBox:"0 0 32 33"},e,{children:[(0,g.jsx)("g",{filter:"url(#filter0_dd_1374_10)",children:(0,g.jsx)("path",{d:"M20.7271 2C21.4372 2 21.7114 2.00463 22.0841 2.03504C22.8228 2.0954 23.4839 2.25122 24.1592 2.59527C25.1865 3.1188 26.0219 3.9541 26.5458 4.98208C26.8896 5.65706 27.0454 6.31812 27.1057 7.05672C27.1301 7.35469 27.1379 7.58979 27.14 8.03558L27.1408 9.10155C27.1408 11.2114 25.4304 12.922 23.3205 12.922C21.4083 12.922 19.8243 11.5172 19.5441 9.68336L19.538 9.64H18.39V21.687L20.0392 21.6877C22.149 21.6877 23.8595 23.398 23.8595 25.508C23.8595 27.6178 22.149 29.3283 20.0392 29.3283H9.10159C6.99169 29.3283 5.28127 27.6178 5.28127 25.508C5.28127 23.398 6.99172 21.6877 9.10159 21.6877L10.75 21.687V9.64H9.601L9.59661 9.68334C9.32609 11.4539 7.84018 12.8246 6.01692 12.917L5.82032 12.922C3.71035 12.922 2 11.2114 2 9.10155V8.41371C2 7.70349 2.00463 7.42929 2.03504 7.05674C2.09538 6.31803 2.25122 5.65681 2.59521 4.98173C3.11877 3.95419 3.95418 3.11876 4.98174 2.5952C5.65683 2.25122 6.31798 2.09539 7.057 2.03501C7.42935 2.00463 7.70354 2 8.41371 2H20.7271Z",className:"invertedFill"})}),(0,g.jsx)("path",{d:"M8.41371 5H20.7271C21.1595 5 21.5325 5 21.8398 5.02507C22.1641 5.05157 22.4867 5.11007 22.7971 5.26822C23.2601 5.50416 23.6366 5.88064 23.8726 6.3437C24.0307 6.65409 24.0892 6.97666 24.1157 7.30097C24.1408 7.60823 24.1408 7.98127 24.1408 8.41369V9.10155C24.1408 9.55465 23.7735 9.92195 23.3205 9.92195C22.8674 9.92195 22.5001 9.55465 22.5001 9.10155V8.44533C22.5001 7.97237 22.4995 7.66699 22.4805 7.43457C22.4623 7.21172 22.4314 7.12909 22.4107 7.08853C22.3321 6.93418 22.2066 6.80869 22.0522 6.73004C22.0117 6.70938 21.9291 6.67847 21.7062 6.66026C21.4738 6.64127 21.1684 6.64063 20.6954 6.64063H15.3907V24.6877H20.0392C20.4922 24.6877 20.8595 25.0549 20.8595 25.508C20.8595 25.961 20.4922 26.3283 20.0392 26.3283H9.10159C8.64854 26.3283 8.28127 25.961 8.28127 25.508C8.28127 25.0549 8.64854 24.6877 9.10159 24.6877H13.7501V6.64063H8.44533C7.97238 6.64063 7.66699 6.64127 7.43457 6.66026C7.21172 6.67847 7.1291 6.70938 7.08854 6.73004C6.93418 6.80869 6.80869 6.93418 6.73004 7.08853C6.70938 7.12909 6.67847 7.21172 6.66026 7.43457C6.64127 7.66699 6.64063 7.97237 6.64063 8.44533V9.10155C6.64063 9.55465 6.27337 9.92195 5.82032 9.92195C5.36727 9.92195 5 9.55465 5 9.10155V8.41371C5 7.98128 5 7.60823 5.02508 7.30097C5.05157 6.97666 5.11007 6.65409 5.26823 6.3437C5.50417 5.88064 5.88064 5.50416 6.3437 5.26822C6.65409 5.11007 6.97666 5.05157 7.30097 5.02507C7.60824 5 7.98129 5 8.41371 5Z",fill:"currentColor"}),(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:"filter0_dd_1374_10",x:"0.85",y:"0.85",width:"27.4408",height:"30.7783",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.0588235 0 0 0 0 0.0941176 0 0 0 0.12 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1374_10"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,g.jsx)("feOffset",{dy:"1.15"}),(0,g.jsx)("feGaussianBlur",{stdDeviation:"0.575"}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.054902 0 0 0 0 0.054902 0 0 0 0 0.203922 0 0 0 0.16 0"}),(0,g.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1374_10",result:"effect2_dropShadow_1374_10"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1374_10",result:"shape"})]})})]})),Cu="3.3em",Cc=h.I4.button(nA(),Cu,Cu,s7("annotationMenuTriggerIconColor"),e=>{let{$plusStrokeColor:t}=e;return t||s7("grey100")},s7("grey100"),e=>{let{$isOpen:t,$isHovered:n,$isSticky:r}=e;return"scale(".concat(t?"100%":n||r?"75%":"50%",")")}),Cd=h.I4.div(nw(),e=>{let{$isOpen:t}=e;return t?"rotate(45deg)":"rotate(0deg)"}),Cp=(0,O.forwardRef)((e,t)=>{let{isOpen:n,plusStrokeColor:r,isSticky:i,isHovered:o}=e,{canUserInteractWithAddon:l}=xG();return l("annotationMenuAddon")?(0,g.jsx)(eb.l9,{asChild:!0,children:(0,g.jsx)(Cc,{ref:t,$isOpen:n,$plusStrokeColor:r,$isSticky:i,$isHovered:o,children:(0,g.jsx)(Cd,{$isOpen:n,children:(0,g.jsx)(by,{size:"lg"})})})}):null});Cp.displayName="AnnotationsMenuTrigger";let Ch=()=>{let{hitboxes:e}=m2();return(0,O.useMemo)(()=>e.flatMap(e=>e.dataPoints.filter(e=>m3(e)||m5(e))),[e])},Cg=e=>e.map(mJ).join(Cf),Cf="#separator#",Cm=h.I4.div(nk()),Cy=(0,h.I4)(eb.q7)(nS(),hC(1),hC(.5),ss.md,s7("grey80"),s7("grey80")),Cx=h.I4.div(nP()),Cb=h.I4.span(nL(),mj),CC=h.I4.div(nM()),Cv=h.I4.div(nO(),s7("alert")),Cj=()=>(0,g.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{opacity:"0.12",d:"M13.5948 4.29016C13.8724 6.22367 12.5301 8.01618 10.5966 8.29384C8.66309 8.57151 6.87058 7.22918 6.59292 5.29567C6.31525 3.36216 7.65758 1.56965 9.59109 1.29198C11.5246 1.01432 13.3171 2.35665 13.5948 4.29016Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.71886 3.51052C6.25611 1.3626 8.43287 0.0568985 10.5808 0.594151C12.7287 1.1314 14.0344 3.30817 13.4972 5.45609C13.0316 7.31748 11.3347 8.54637 9.49237 8.49145L7.50898 12.492C7.46485 12.581 7.40179 12.6548 7.32702 12.7108C7.20005 12.8073 7.03703 12.8532 6.87248 12.8303C6.80957 12.822 6.74697 12.8038 6.68687 12.7749C6.39369 12.6342 6.26689 12.2915 6.3923 11.9963L7.63393 7.97371C6.10249 7.10872 5.27136 5.29962 5.71886 3.51052ZM10.2785 1.80253C8.79799 1.4322 7.29756 2.33222 6.92723 3.81277C6.55691 5.29332 7.45692 6.79375 8.93747 7.16408C10.418 7.5344 11.9185 6.63439 12.2888 5.15384C12.6591 3.67329 11.7591 2.17285 10.2785 1.80253Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M5.42977 11.1572C5.70072 11.104 5.8772 10.8411 5.82393 10.5702C5.77067 10.2992 5.50784 10.1227 5.23688 10.176C4.31848 10.3565 3.57421 10.6423 3.04695 11.0266C2.51409 11.4149 2.16666 11.936 2.16666 12.557C2.16666 13.0322 2.41215 13.4327 2.74425 13.7433C3.07553 14.0531 3.52776 14.3091 4.04484 14.5137C5.08193 14.9239 6.48048 15.1666 7.99999 15.1666C9.5195 15.1666 10.9181 14.9239 11.9551 14.5137C12.4722 14.3091 12.9244 14.0531 13.2557 13.7433C13.5878 13.4327 13.8333 13.0322 13.8333 12.557C13.8333 11.936 13.4859 11.4149 12.953 11.0266C12.4258 10.6423 11.6815 10.3565 10.7631 10.176C10.4921 10.1227 10.2293 10.2992 10.176 10.5702C10.1228 10.8411 10.2993 11.104 10.5702 11.1572C11.4079 11.3219 11.997 11.5672 12.364 11.8347C12.7255 12.0981 12.8333 12.3496 12.8333 12.557C12.8333 12.6643 12.7803 12.8187 12.5727 13.013C12.3642 13.2079 12.0354 13.4065 11.5873 13.5838C10.6941 13.9371 9.426 14.1666 7.99999 14.1666C6.57398 14.1666 5.30586 13.9371 4.41267 13.5838C3.9646 13.4065 3.63578 13.2079 3.4273 13.013C3.21964 12.8187 3.16666 12.6643 3.16666 12.557C3.16666 12.3496 3.2745 12.0981 3.63595 11.8347C4.00299 11.5672 4.59206 11.3219 5.42977 11.1572Z",fill:"currentColor",fillOpacity:"0.8"})]}),CA=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M2.333 3h11.334v8.667c-2 0-4 .333-5.667 2.333-2-2-3.667-2.333-5.667-2.333z",opacity:".12"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",fillRule:"evenodd",d:"M3.325 3.156a.836.836 0 0 0-.836.836v6.832c0 .462.375.836.836.836h2.131a.5.5 0 0 1 .352.145L8 13.975l2.193-2.17a.5.5 0 0 1 .352-.145h2.13a.84.84 0 0 0 .836-.836V3.992a.84.84 0 0 0-.836-.836zm-1.836.836c0-1.014.822-1.836 1.836-1.836h9.35c1.015 0 1.836.825 1.836 1.836v6.832a1.84 1.84 0 0 1-1.836 1.836H10.75l-2.398 2.374a.5.5 0 0 1-.704 0L5.25 12.66H3.325a1.836 1.836 0 0 1-1.836-1.836z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",fillRule:"evenodd",d:"M8 4.505a.5.5 0 0 1 .5.5v2.172h2.171a.5.5 0 0 1 0 1H8.5v2.171a.5.5 0 0 1-1 0V8.177H5.329a.5.5 0 0 1 0-1H7.5V5.005a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]}),Cw=()=>(0,g.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{opacity:"0.12",d:"M15 4.66667L12.3333 2L2.33334 12L5.00001 14.6667L15 4.66667Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M5.01683 15.3331C4.84407 15.3343 4.67292 15.2997 4.51421 15.2314C4.3555 15.1632 4.21268 15.0627 4.09476 14.9365L3.88656 14.7283L3.62877 14.8968L3.19253 15.3331H0L2.24072 13.0923L2.03251 12.8445C1.89423 12.7191 1.78392 12.566 1.70875 12.3952C1.63359 12.2244 1.59526 12.0396 1.59626 11.853C1.59579 11.6818 1.63078 11.5124 1.69904 11.3554C1.76729 11.1984 1.86733 11.0573 1.99285 10.9409L11.2036 1.73012C11.3215 1.60384 11.4643 1.5034 11.623 1.43514C11.7817 1.36688 11.9529 1.33228 12.1257 1.33353C12.2969 1.33245 12.4665 1.36716 12.6236 1.43546C12.7807 1.50375 12.9218 1.60412 13.0378 1.73012L15.1496 3.92126C15.2748 4.03899 15.3745 4.1811 15.4427 4.33882C15.5108 4.49654 15.546 4.66655 15.546 4.83837C15.546 5.01019 15.5108 5.1802 15.4427 5.33792C15.3745 5.49564 15.2748 5.63774 15.1496 5.75548L5.93889 14.9662C5.81806 15.0866 5.67403 15.1812 5.51552 15.2443C5.35702 15.3074 5.18736 15.3376 5.01683 15.3331ZM2.48858 11.9125L5.01683 14.4407L9.47843 9.97913L6.95019 7.4608L2.48858 11.9125ZM7.68388 6.72712L10.2022 9.24544L14.644 4.80367L12.1257 2.28534L7.68388 6.72712Z",fill:"currentColor",fillOpacity:"0.8"})]}),Ck=()=>(0,g.jsxs)(CC,{role:"img",children:[(0,g.jsx)(Cw,{}),(0,g.jsx)(Cv,{})]}),CS=()=>(0,g.jsx)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,g.jsx)("path",{d:"M14.0146 5.20703C14.2118 5.40459 14.2121 5.72447 14.0146 5.92187L12.3291 7.6084C12.2343 7.70313 12.1047 7.75579 11.9707 7.75586C11.8369 7.75573 11.708 7.70291 11.6133 7.6084L9.92773 5.92187C9.73024 5.72438 9.73031 5.40457 9.92773 5.20703C10.1253 5.0095 10.445 5.0095 10.6426 5.20703L11.4658 6.03027L11.4658 1.68652L7.75586 1.68652L7.75586 12.6455C7.75563 12.9246 7.5291 13.1512 7.25 13.1514L2.5293 13.1514C2.2501 13.1514 2.02367 12.9247 2.02344 12.6455L2.02344 5.00781C0.868958 4.77348 0.000106647 3.7528 -1.10559e-07 2.5293C-4.95071e-08 1.13259 1.13261 9.74645e-05 2.5293 -5.23256e-07C3.92588 0.000220668 5.05859 1.13267 5.05859 2.5293C5.05849 3.75251 4.1892 4.77219 3.03516 5.00684L3.03516 12.1396L6.74414 12.1396L6.74414 1.18066C6.74414 0.901394 6.97076 0.674939 7.25 0.674804L11.9707 0.674805C12.2499 0.674939 12.4766 0.901394 12.4766 1.18066L12.4766 6.03027L13.2998 5.20703C13.4973 5.0095 13.8171 5.0095 14.0146 5.20703ZM4.04687 2.5293C4.04687 1.69137 3.36717 1.01194 2.5293 1.01172C1.69132 1.01182 1.01172 1.6913 1.01172 2.5293C1.01184 3.36719 1.6914 4.04678 2.5293 4.04687C3.36709 4.04665 4.04675 3.36712 4.04687 2.5293ZM14.5 11.2969C14.4998 12.6935 13.3673 13.8262 11.9707 13.8262C10.5742 13.826 9.4416 12.6934 9.44141 11.2969C9.44141 9.90018 10.574 8.7677 11.9707 8.76758C13.3675 8.76758 14.5 9.90011 14.5 11.2969ZM13.4883 11.2969C13.4883 10.4588 12.8088 9.7793 11.9707 9.7793C11.1327 9.77942 10.4531 10.4589 10.4531 11.2969C10.4533 12.1347 11.1329 12.8143 11.9707 12.8145C12.8086 12.8145 13.4881 12.1348 13.4883 11.2969Z",fill:"currentColor",fillOpacity:"0.8"})}),CP=()=>(0,g.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{opacity:"0.12",d:"M1.33334 8.00016C1.33334 4.31826 4.31811 1.3335 8.00001 1.3335C11.6819 1.3335 14.6667 4.31826 14.6667 8.00016C14.6667 11.6821 11.6819 14.6668 8.00001 14.6668C4.31811 14.6668 1.33334 11.6821 1.33334 8.00016Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M5.7328 9.69963C5.56696 9.47884 5.25352 9.43429 5.03273 9.60013C4.81193 9.76598 4.76739 10.0794 4.93323 10.3002C5.63175 11.2302 6.74548 11.8333 7.99993 11.8333C9.25438 11.8333 10.3681 11.2302 11.0666 10.3002C11.2325 10.0794 11.1879 9.76598 10.9671 9.60013C10.7463 9.43429 10.4329 9.47884 10.2671 9.69963C9.74929 10.3889 8.92657 10.8333 7.99993 10.8333C7.07329 10.8333 6.25057 10.3889 5.7328 9.69963Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M6.66668 6.66658C6.66668 7.03478 6.3682 7.33325 6.00001 7.33325C5.63182 7.33325 5.33334 7.03478 5.33334 6.66658C5.33334 6.29839 5.63182 5.99992 6.00001 5.99992C6.3682 5.99992 6.66668 6.29839 6.66668 6.66658Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M10 7.33325C10.3682 7.33325 10.6667 7.03478 10.6667 6.66658C10.6667 6.29839 10.3682 5.99992 10 5.99992C9.63182 5.99992 9.33334 6.29839 9.33334 6.66658C9.33334 7.03478 9.63182 7.33325 10 7.33325Z",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00001 0.833252C4.04197 0.833252 0.833344 4.04188 0.833344 7.99992C0.833344 11.958 4.04197 15.1666 8.00001 15.1666C11.9581 15.1666 15.1667 11.958 15.1667 7.99992C15.1667 4.04188 11.9581 0.833252 8.00001 0.833252ZM14.1667 7.99992C14.1667 11.4057 11.4058 14.1666 8.00001 14.1666C4.59425 14.1666 1.83334 11.4057 1.83334 7.99992C1.83334 4.59416 4.59425 1.83325 8.00001 1.83325C11.4058 1.83325 14.1667 4.59416 14.1667 7.99992Z",fill:"currentColor",fillOpacity:"0.8"})]}),CL=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3.2",height:"7.704",y:"8.296",fill:"currentColor",fillOpacity:"0.3",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"4.741",x:"8.533",y:"11.259",fill:"currentColor",fillOpacity:"0.3",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"11.259",x:"4.267",y:"4.741",fill:"currentColor",fillOpacity:"0.8",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"16",x:"12.8",fill:"currentColor",fillOpacity:"0.3",rx:".533"})]}),CM=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3.2",height:"7.704",y:"8.296",fill:"currentColor",fillOpacity:"0.3",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"4.741",x:"8.533",y:"11.259",fill:"currentColor",fillOpacity:"0.3",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"11.259",x:"4.267",y:"4.741",fill:"currentColor",fillOpacity:"0.8",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"16",x:"12.8",fill:"currentColor",fillOpacity:".8",rx:".533"})]}),CO=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3.2",height:"7.704",y:"8.296",fill:"currentColor",fillOpacity:"0.8",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"4.741",x:"8.533",y:"11.259",fill:"currentColor",fillOpacity:"0.3",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"11.259",x:"4.267",y:"4.741",fill:"currentColor",fillOpacity:"0.8",rx:".533"}),(0,g.jsx)("rect",{width:"3.2",height:"16",x:"12.8",fill:"currentColor",fillOpacity:"0.3",rx:".533"})]}),CT=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 13.037h4.267v2.445a.52.52 0 0 1-.519.518H.518A.52.52 0 0 1 0 15.482zM0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.408H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.867 7.704h4.266v7.778a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518zM11.733 10.074H16v5.408a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.519-.518zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"})]}),CD=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M0 13.037h4.267v2.445a.52.52 0 0 1-.519.518H.518A.52.52 0 0 1 0 15.482z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.408H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.867 7.704h4.266v7.778a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M11.733 10.074H16v5.408a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.519-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"})]}),CI=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 13.037h4.267v2.445a.52.52 0 0 1-.519.518H.518A.52.52 0 0 1 0 15.482zM0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.408H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.867 7.704h4.266v7.778a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.518-.518zM5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M11.733 10.074H16v5.408a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.519-.518zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"})]}),CE=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3",height:"8",x:"8",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 8 0)"}),(0,g.jsx)("rect",{width:"3",height:"5",x:"5",y:"9",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 5 9)"}),(0,g.jsx)("rect",{width:"3",height:"12",x:"12",y:"4",fill:"currentColor",rx:".533",transform:"rotate(90 12 4)"}),(0,g.jsx)("rect",{width:"3",height:"16",x:"16",y:"13",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 16 13)"})]}),CH=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3",height:"8",x:"8",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 8 0)"}),(0,g.jsx)("rect",{width:"3",height:"5",x:"5",y:"9",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 5 9)"}),(0,g.jsx)("rect",{width:"3",height:"12",x:"12",y:"4",fill:"currentColor",rx:".533",transform:"rotate(90 12 4)"}),(0,g.jsx)("rect",{width:"3",height:"16",x:"16",y:"13",fill:"currentColor",fillOpacity:".8",rx:".533",transform:"rotate(90 16 13)"})]}),CV=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3",height:"8",x:"8",fill:"currentColor",fillOpacity:".8",rx:".533",transform:"rotate(90 8 0)"}),(0,g.jsx)("rect",{width:"3",height:"5",x:"5",y:"9",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 5 9)"}),(0,g.jsx)("rect",{width:"3",height:"12",x:"12",y:"4",fill:"currentColor",rx:".533",transform:"rotate(90 12 4)"}),(0,g.jsx)("rect",{width:"3",height:"16",x:"16",y:"13",fill:"currentColor",fillOpacity:"0.3",rx:".533",transform:"rotate(90 16 13)"})]}),CF=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M2.963 0v4.267H.518A.52.52 0 0 1 0 3.748V.518C0 .233.232 0 .518 0zM8.963 0c.286 0 .518.232.518.519v3.23a.52.52 0 0 1-.518.518H3.556V0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M8.296 5.867v4.266H.518A.52.52 0 0 1 0 9.615v-3.23c0-.286.232-.518.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M8.889 5.867v4.266h3.037a.52.52 0 0 0 .518-.518v-3.23a.52.52 0 0 0-.518-.518zM5.926 11.733V16H.519A.52.52 0 0 1 0 15.482v-3.23c0-.287.232-.519.519-.519zM6.519 11.733V16h8.962a.52.52 0 0 0 .519-.518v-3.23a.52.52 0 0 0-.519-.519z"})]}),CB=()=>(0,g.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{d:"M2.96289 6.99382e-07L2.96289 4.26667L0.518483 4.26667C0.232113 4.26667 -3.52239e-05 4.03452 -3.52114e-05 3.74815L-3.50702e-05 0.518519C-3.50577e-05 0.23215 0.232114 5.80016e-07 0.518483 5.92534e-07L2.96289 6.99382e-07Z",fill:"black",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M8.96293 6.76717e-07C9.2493 6.89235e-07 9.48145 0.232149 9.48145 0.518519L9.48145 3.74815C9.48145 4.03452 9.2493 4.26667 8.96293 4.26667L3.55559 4.26667L3.55559 4.40355e-07L8.96293 6.76717e-07Z",fill:"currentColor",fillOpacity:"0.3"}),(0,g.jsx)("path",{d:"M8.29614 5.8667L8.29614 10.1334L0.518469 10.1334C0.232099 10.1334 -4.88137e-05 9.90122 -4.88012e-05 9.61485L-4.86601e-05 6.38522C-4.86475e-05 6.09885 0.2321 5.8667 0.51847 5.8667L8.29614 5.8667Z",fill:"black",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M8.88892 5.8667L8.88892 10.1334L11.9259 10.1334C12.2123 10.1334 12.4444 9.90122 12.4444 9.61485L12.4444 6.38522C12.4444 6.09885 12.2123 5.8667 11.9259 5.8667L8.88892 5.8667Z",fill:"currentColor",fillOpacity:"0.3"}),(0,g.jsx)("path",{d:"M5.92603 11.7334L5.92603 16.0001L0.518692 16.0001C0.232322 16.0001 0.000173869 15.7679 0.000173882 15.4815L0.000174023 12.2519C0.000174035 11.9655 0.232323 11.7334 0.518692 11.7334L5.92603 11.7334Z",fill:"black",fillOpacity:"0.8"}),(0,g.jsx)("path",{d:"M6.51855 11.7334L6.51855 16.0001L15.4814 16.0001C15.7678 16.0001 15.9999 15.7679 15.9999 15.4815L15.9999 12.2519C15.9999 11.9655 15.7678 11.7334 15.4814 11.7334L6.51855 11.7334Z",fill:"currentColor",fillOpacity:"0.3"})]}),CR=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M2.963 0v4.267H.518A.52.52 0 0 1 0 3.748V.518C0 .233.232 0 .518 0zM8.963 0c.286 0 .518.232.518.519v3.23a.52.52 0 0 1-.518.518H3.556V0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M8.296 5.867v4.266H.518A.52.52 0 0 1 0 9.615v-3.23c0-.286.232-.518.518-.518zM8.889 5.867v4.266h3.037a.52.52 0 0 0 .518-.518v-3.23a.52.52 0 0 0-.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M5.926 11.733V16H.519A.52.52 0 0 1 0 15.482v-3.23c0-.287.232-.519.519-.519zM6.519 11.733V16h8.962a.52.52 0 0 0 .519-.518v-3.23a.52.52 0 0 0-.519-.519z"})]}),Cz=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"16",height:"16",fill:"currentColor",fillOpacity:"0.3",rx:"8"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.8",d:"m7.999 16 .412-.01A8 8 0 0 0 8 0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.6",d:"M15.999 8a8 8 0 0 1-7.588 7.989l-.412.01V8z"})]}),CY=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M8 0a8 8 0 1 1-.001 16A8 8 0 0 1 8 0m.111 3.916a4.195 4.195 0 1 0 0 8.39 4.195 4.195 0 0 0 0-8.39"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.8",d:"M8 0a8 8 0 0 1 .411 15.99L8 15.998v-3.695c.038 0 .075.004.113.004a4.196 4.196 0 1 0-.113-8.39z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.1",d:"M16 8a8 8 0 0 1-7.589 7.99L8 15.998v-3.695c.038 0 .075.004.113.004a4.196 4.196 0 0 0 4.195-4.197L12.304 8z"})]}),CG=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",fill:"none",viewBox:"0 0 20 16",children:[(0,g.jsx)("path",{stroke:"currentColor",strokeOpacity:"0.8",strokeLinecap:"round",strokeLinejoin:"bevel",strokeWidth:".993",d:"M1.5 12 6 6.5l4 3.5 4-5.5"}),(0,g.jsx)("circle",{cx:"1.493",cy:"11.993",r:".993",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("circle",{cx:"5.993",cy:"6.493",r:".993",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("circle",{cx:"9.993",cy:"9.993",r:".993",fill:"currentColor",fillOpacity:"0.8"}),(0,g.jsx)("circle",{cx:"13.993",cy:"4.493",r:".993",fill:"currentColor",fillOpacity:"0.8"})]}),CW=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:".8",strokeWidth:"1.163",d:"m-1.618 15.96 9.118-5.3 11 2.34"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.6",stroke:"currentColor",strokeOpacity:"0.3",d:"M8 13a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),(0,g.jsx)("rect",{width:"9.795",height:"6",x:"3",y:"2",fill:"currentColor",fillOpacity:"0.3",rx:"1.513"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.29 6.62a1.3 1.3 0 0 1-.424-.075 1 1 0 0 1-.373-.244 1.2 1.2 0 0 1-.262-.45 2.1 2.1 0 0 1-.096-.699q0-.389.082-.693.083-.304.238-.514a1.05 1.05 0 0 1 .374-.322q.22-.11.492-.11.285 0 .505.112a.973.973 0 0 1 .526.744h-.54a.5.5 0 0 0-.17-.277.5.5 0 0 0-.321-.105.54.54 0 0 0-.485.273q-.168.273-.17.75h.021a.8.8 0 0 1 .188-.223.92.92 0 0 1 .569-.195.91.91 0 0 1 .813.477q.125.222.123.509 0 .297-.136.536a1 1 0 0 1-.383.372 1.15 1.15 0 0 1-.571.134m-.003-.443a.54.54 0 0 0 .288-.078.57.57 0 0 0 .2-.211.6.6 0 0 0 .073-.299.6.6 0 0 0-.07-.294.54.54 0 0 0-.484-.285.55.55 0 0 0-.403.173.596.596 0 0 0 .108.914.53.53 0 0 0 .288.08M6.88 6.579v-.396l1.05-1.03q.15-.15.25-.27a1 1 0 0 0 .151-.229.6.6 0 0 0 .05-.236.432.432 0 0 0-.244-.405.6.6 0 0 0-.258-.056q-.15 0-.261.062a.43.43 0 0 0-.175.173.56.56 0 0 0-.06.267H6.86q0-.288.132-.5a.9.9 0 0 1 .362-.33q.231-.117.532-.117.303 0 .534.114.23.114.358.312a.8.8 0 0 1 .128.452.9.9 0 0 1-.065.334q-.065.164-.229.363-.162.2-.456.483l-.522.53v.021h1.318v.458zM10.57 6.62a1.3 1.3 0 0 1-.423-.075 1 1 0 0 1-.373-.244 1.2 1.2 0 0 1-.263-.45 2.1 2.1 0 0 1-.096-.699q0-.389.083-.693t.238-.514a1.05 1.05 0 0 1 .374-.322q.219-.11.492-.11.285 0 .505.112a.973.973 0 0 1 .526.744h-.54a.5.5 0 0 0-.17-.277.5.5 0 0 0-.322-.105.54.54 0 0 0-.484.273q-.168.273-.17.75h.02a.8.8 0 0 1 .188-.223.92.92 0 0 1 .569-.195.91.91 0 0 1 .814.477q.125.222.123.509 0 .297-.136.536a1 1 0 0 1-.383.372 1.15 1.15 0 0 1-.572.134m-.002-.443a.54.54 0 0 0 .288-.078.57.57 0 0 0 .2-.211.6.6 0 0 0 .073-.299.6.6 0 0 0-.071-.294.54.54 0 0 0-.483-.285.54.54 0 0 0-.403.173.597.597 0 0 0 .107.914.53.53 0 0 0 .289.08"})]}),CU=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 13.037h4.267v2.444a.52.52 0 0 1-.519.519H.518A.52.52 0 0 1 0 15.482zM0 7.037c0-.286.232-.518.519-.518h3.23c.286 0 .518.232.518.518v5.407H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.867 7.704h4.266v7.778a.52.52 0 0 1-.518.518h-3.23a.52.52 0 0 1-.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M5.867 7.111h4.266V4.074a.52.52 0 0 0-.518-.518h-3.23a.52.52 0 0 0-.518.518zM11.733 10.074H16v5.407a.52.52 0 0 1-.518.519h-3.23a.52.52 0 0 1-.519-.519zM11.733 9.481H16V.52A.52.52 0 0 0 15.482 0h-3.23a.52.52 0 0 0-.519.519z"}),(0,g.jsx)("path",{stroke:"gray",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.133",d:"m.774 7.611 5.924-3.434 4.121 2.004L15 3"}),(0,g.jsx)("ellipse",{cx:"14.5",cy:"3",fill:"currentColor",rx:"1.5",ry:"1.667"})]}),CN=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",fill:"none",viewBox:"0 0 17 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 13.037h4.26v2.444a.52.52 0 0 1-.518.519H.52A.52.52 0 0 1 0 15.482zM0 7.037c0-.286.232-.518.519-.518h3.223c.287 0 .519.232.519.518v5.407H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.859 7.704h4.26v7.778a.52.52 0 0 1-.518.518H6.377a.52.52 0 0 1-.518-.518zM5.859 7.111h4.26V4.074a.52.52 0 0 0-.518-.518H6.377a.52.52 0 0 0-.518.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M11.717 10.074h4.261v5.407a.52.52 0 0 1-.518.519h-3.224a.52.52 0 0 1-.519-.519zM11.717 9.481h4.261V.52A.52.52 0 0 0 15.46 0h-3.224a.52.52 0 0 0-.519.519z"}),(0,g.jsx)("path",{stroke:"gray",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.133",d:"M.772 7.611 6.69 4.177l4.115 2.003 4.887-3.148"})]}),CK=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",fill:"none",viewBox:"0 0 17 16",children:[(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M0 13.037h4.26v2.444a.52.52 0 0 1-.518.519H.52A.52.52 0 0 1 0 15.482z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M0 7.037c0-.286.232-.518.519-.518h3.223c.287 0 .519.232.519.518v5.407H0z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M5.859 7.704h4.26v7.778a.52.52 0 0 1-.518.518H6.377a.52.52 0 0 1-.518-.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M5.859 7.111h4.26V4.074a.52.52 0 0 0-.518-.518H6.377a.52.52 0 0 0-.518.518z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:".8",d:"M11.717 10.074h4.261v5.407a.52.52 0 0 1-.518.519h-3.224a.52.52 0 0 1-.519-.519z"}),(0,g.jsx)("path",{fill:"currentColor",fillOpacity:"0.3",d:"M11.717 9.481h4.261V.52A.52.52 0 0 0 15.46 0h-3.224a.52.52 0 0 0-.519.519z"}),(0,g.jsx)("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.133",d:"M.772 7.611 6.69 4.177l4.115 2.003 4.887-3.148"})]}),CZ=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"4.22",height:"3.556",y:"12.445",fill:"currentColor",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.667",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.074",x:"5.802",y:"5.926",fill:"currentColor",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"4.148",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 5.802 4.148)"}),(0,g.jsx)("rect",{width:"4.22",height:"6.518",x:"11.78",y:"9.481",fill:"currentColor",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"7.704",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 11.604 7.704)"})]}),CX=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"4.22",height:"3.556",y:"12.445",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.667",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.074",x:"5.802",y:"5.926",fill:"currentColor",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"4.148",fill:"currentColor",fillOpacity:".8",rx:".519",transform:"matrix(1 0 0 -1 5.802 4.148)"}),(0,g.jsx)("rect",{width:"4.22",height:"6.518",x:"11.78",y:"9.481",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"7.704",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 11.604 7.704)"})]}),C_=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"4.22",height:"3.556",y:"12.445",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.667",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"10.074",x:"5.802",y:"5.926",fill:"currentColor",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"4.148",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 5.802 4.148)"}),(0,g.jsx)("rect",{width:"4.22",height:"6.518",x:"11.78",y:"9.481",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"4.22",height:"7.704",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 11.604 7.704)"})]}),CQ=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"3.2",height:"6.518",y:"9.482",fill:"currentColor",fillOpacity:"0.3",rx:".519"}),(0,g.jsx)("rect",{width:"3.2",height:"4.741",fill:"currentColor",fillOpacity:".8",rx:".519",transform:"matrix(1 0 0 -1 8.533 4.741)"}),(0,g.jsx)("rect",{width:"3.2",height:"6.518",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 4.267 11.26)"}),(0,g.jsx)("rect",{width:"3.2",height:"15.999",fill:"currentColor",fillOpacity:"0.3",rx:".519",transform:"matrix(1 0 0 -1 12.8 16)"})]}),CJ=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("path",{fill:"#e5e5e5",d:"M6.4 3.84 3.467 0H.533v16H15.2l.8-.64V9.28l-.8-1.6h-2.667l-3.2-3.84z"}),(0,g.jsx)("rect",{width:"4.267",height:"8.32",fill:"currentColor",fillOpacity:"0.3",rx:".52",transform:"matrix(-1 0 0 1 16 7.68)"}),(0,g.jsx)("rect",{width:"4.267",height:"12.16",fill:"currentColor",fillOpacity:".8",rx:".52",transform:"matrix(-1 0 0 1 10.133 3.84)"}),(0,g.jsx)("rect",{width:"4.267",height:"16",fill:"currentColor",fillOpacity:"0.3",rx:".52",transform:"matrix(-1 0 0 1 4.267 0)"})]}),Cq=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 2.056 12.869)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 2.056 12.869)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 3.598 7.215)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 6.681 11.327)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 9.251 7.215)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:".8",rx:"1.028",transform:"matrix(-1 0 0 1 10.28 2.59)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 13.877 6.187)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 15.933 .533)"})]}),C$=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 2.056 12.869)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 2.056 12.869)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:".8",rx:"1.028",transform:"matrix(-1 0 0 1 3.598 7.215)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:".8",rx:"1.028",transform:"matrix(-1 0 0 1 6.681 11.327)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 9.251 7.215)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:".8",rx:"1.028",transform:"matrix(-1 0 0 1 10.28 2.59)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 13.877 6.187)"}),(0,g.jsx)("rect",{width:"2.056",height:"2.056",fill:"currentColor",fillOpacity:"0.3",rx:"1.028",transform:"matrix(-1 0 0 1 15.933 .533)"})]}),C1=()=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,g.jsx)("rect",{width:"1.933",height:"1.933",fill:"currentColor",fillOpacity:"0.3",rx:".967",transform:"matrix(-1 0 0 1 1.933 13.133)"}),(0,g.jsx)("rect",{width:"1.933",height:"1.933",fill:"currentColor",fillOpacity:"0.3",rx:".967",transform:"matrix(-1 0 0 1 1.933 13.133)"}),(0,g.jsx)("rect",{width:"2.9",height:"2.9",fill:"currentColor",fillOpacity:"0.3",rx:"1.45",transform:"matrix(-1 0 0 1 4.35 6.85)"}),(0,g.jsx)("rect",{width:"1.45",height:"1.45",fill:"currentColor",fillOpacity:"0.3",rx:".725",transform:"matrix(-1 0 0 1 5.8 11.683)"}),(0,g.jsx)("rect",{width:"3.383",height:"3.383",fill:"currentColor",fillOpacity:"0.3",rx:"1.692",transform:"matrix(-1 0 0 1 10.15 7.817)"}),(0,g.jsx)("rect",{width:"3.867",height:"3.867",fill:"currentColor",rx:"1.933",transform:"matrix(-1 0 0 1 9.666 1.533)"}),(0,g.jsx)("rect",{width:"3.383",height:"3.383",fill:"currentColor",fillOpacity:"0.3",rx:"1.692",transform:"matrix(-1 0 0 1 14.5 6.85)"}),(0,g.jsx)("rect",{width:"2.9",height:"2.9",fill:"currentColor",fillOpacity:"0.3",rx:"1.45",transform:"matrix(-1 0 0 1 15.467 1.533)"})]}),C0=e=>{switch(e){case"bar":return{"data-point":CE,series:CH,"x-value":CV};case"column":return{"data-point":CL,series:CM,"x-value":CO};case"barStacked":case"barStackedFill":return{"data-point":CF,series:CB,"x-value":CR};case"columnStacked":case"columnStackedFill":return{"data-point":CT,series:CD,"x-value":CI};case"line":case"areaStacked":return{"data-point":CW,series:CG};case"combo":return{"data-point":CU,series:CK,"x-value":CN};case"pie":return{"x-value":Cz};case"donut":return{"x-value":CY};case"funnel":return{"data-point":CJ};case"waterfall":return{bar:CQ};case"mekko":return{"data-point":CZ,series:C_,"x-value":CX};case"scatter":return{"data-point":Cq,series:C$};case"bubble":return{"data-point":C1};default:throw Error("Unsupported visualization type: ".concat(e))}},C2=e=>{var t,n;let r=gh(e=>e.computedConfig.type),i=(()=>{let e=Ch();return(0,O.useCallback)(t=>{let n=Cg(t.groupValues),r=e.filter(e=>Cg(e.groupValues)===n),i=r.findIndex(e=>e.id===t.id);return -1===i?null:i===r.length-1?r[i-1]:r[i+1]},[e])})(),o=t=>n=>{n.preventDefault(),e.setActiveSubMenu(t)};return(0,g.jsxs)(Cm,{children:[(0,g.jsxs)(Cy,{onClick:()=>{let{propertyKey:t,rowIndex:n}=dQ(e.dataPoint.id);e.onAnnotate({id:crypto.randomUUID(),propertyKey:t,rowIndex:n,rowValue:e.getRowCategoricalValue(n),config:{type:"tooltip"}}),e.setActiveSubMenu(null)},children:[(0,g.jsx)(Cj,{}),(0,g.jsx)(Cb,{children:"Pin number"})]}),(0,g.jsxs)(Cy,{onClick:o("text"),children:[(0,g.jsx)(CA,{}),(0,g.jsx)(Cb,{children:"Annotate"}),(0,g.jsx)(Cx,{children:(0,g.jsx)(bN,{size:"xs",variant:"muted"})})]}),1===e.highlightOptions.length&&(0,g.jsxs)(Cy,{onClick:()=>{var t;let n=null==(t=e.highlightOptions[0])?void 0:t.annotation;if(!n)return;let{propertyKey:r,rowIndex:i}=dQ(e.dataPoint.id);e.onAnnotate({id:crypto.randomUUID(),propertyKey:r,rowIndex:i,rowValue:e.getRowCategoricalValue(i),config:n}),e.setActiveSubMenu(null)},children:[C5(r,null==(t=e.highlightOptions[0])?void 0:t.annotation.highlight),(0,g.jsxs)(Cb,{children:["Highlight ",null==(n=e.highlightOptions[0])?void 0:n.label]})]}),e.highlightOptions.length>1&&(0,g.jsxs)(Cy,{onClick:o("highlight"),children:[(0,g.jsx)(Cw,{}),(0,g.jsx)(Cb,{children:"Highlight"}),(0,g.jsx)(Cx,{children:(0,g.jsx)(bN,{size:"xs",variant:"muted"})})]}),e.onRemoveHighlight&&(0,g.jsxs)(Cy,{onClick:t=>{var n;t.preventDefault(),null==(n=e.onRemoveHighlight)||n.call(e,e.dataPoint)},children:[(0,g.jsx)(Ck,{}),(0,g.jsx)(Cb,{children:"Remove highlight"})]}),m9(e.dataPoint)&&(0,g.jsxs)(Cy,{onClick:()=>{if(!m9(e.dataPoint))return;let t=dQ(e.dataPoint.id),n=i(e.dataPoint);n&&(e.onAnnotate({id:crypto.randomUUID(),propertyKey:t.propertyKey,rowIndex:t.rowIndex,rowValue:e.getRowCategoricalValue(t.rowIndex),config:{type:"difference-arrow",start:t,end:dQ(n.id),attributes:{type:"relative-difference",color:null,size:"small"}}}),e.setActiveSubMenu(null))},children:[(0,g.jsx)(CS,{}),(0,g.jsx)(Cb,{children:"Difference arrow"})]}),(0,g.jsxs)(Cy,{onClick:o("sticker"),children:[(0,g.jsx)(CP,{}),(0,g.jsx)(Cb,{children:"Add sticker"}),(0,g.jsx)(Cx,{children:(0,g.jsx)(bN,{size:"xs",variant:"muted"})})]})]})},C5=(e,t)=>{if(!t)return null;let n=C0(e),r=null==n?void 0:n[t];return r?(0,g.jsx)(r,{}):null},C3=h.I4.ul(nT(),hC(.25)),C7=h.I4.span(nD(),mj);function C9(e){e.preventDefault(),e.stopPropagation()}let C4={onClick:C9,onClickCapture:C9,onKeyDownCapture:C9,onKeyUpCapture:C9,onMouseDownCapture:C9,onMouseUpCapture:C9,onPointerDownCapture:C9,onPointerUpCapture:C9,onTouchEndCapture:C9,onTouchStartCapture:C9},C6={sm:3,md:4,lg:5},C8={sm:.5,md:1,lg:2,xl:3.5},ve={sm:.5,md:1,lg:1.5},vt={primary:{backgroundColor:"grey0",backgroundColorHovered:e=>s9(e,.9),color:"grey100",colorHovered:"grey95",iconColor:"grey95",iconColorSelected:"grey95"},secondary:{backgroundColor:"transparent",backgroundColorHovered:"grey80",backgroundColorDisabled:"grey90",backgroundColorSelected:"grey80",borderColor:"grey70",borderColorDisabled:"grey70",color:"textPrimary",colorSelected:"textPrimary",iconColor:"textSecondary",iconColorSelected:"textPrimary"},secondaryStrong:{backgroundColor:"transparent",backgroundColorHovered:"grey80",backgroundColorDisabled:"grey90",backgroundColorSelected:"grey80",borderColor:e=>"dark"===e?"grey70":"grey60",borderColorDisabled:"grey70",color:"textPrimary",colorSelected:"textPrimary",iconColor:"textSecondary",iconColorSelected:"textPrimary"},subtle:{backgroundColor:"transparent",backgroundColorHovered:"grey80",backgroundColorDisabled:"transparent",backgroundColorSelected:"grey60",borderColor:"transparent",borderColorDisabled:"transparent",color:"textPrimary",colorSelected:"textPrimary",iconColor:"textSecondary",iconColorSelected:"textPrimary"},marketing:{backgroundColor:"amber40",backgroundColorHovered:"amber30",color:"black",iconColor:"black"},alternative:{backgroundColor:"transparent",backgroundColorHovered:"grey70",backgroundColorDisabled:"transparent",backgroundColorSelected:"grey60",borderColor:"transparent",borderColorDisabled:"transparent",color:"textPrimary",colorSelected:"textPrimary",iconColor:"textSecondary",iconColorSelected:"textPrimary"},standout:{backgroundColor:"blue80",backgroundColorHovered:"blue60",backgroundColorDisabled:"transparent",backgroundColorSelected:"blue60",borderColor:"transparent",borderColorDisabled:"transparent",color:"white",colorSelected:"white",iconColor:"white",iconColorSelected:"white"}},vn=h.I4.span(nI(),sg.subtle),vr=h.I4.span(nE(),e=>{let{$wrap:t}=e;return!t&&hS},sg.subtle),vi=h.I4.div(nH()),vo=(0,h.i7)(nV()),vl=h.I4.div(nF()),va=h.I4.button(nR(),hf,e=>{var t,n;let{$alignment:r,disabled:i,$isLoading:o,$isSelected:l,$shouldFitContainer:a,$theme:s,$variant:u,$hasAnimatedBorder:c,$horizontalPadding:d,$verticalPadding:p,$radii:g="md"}=e,f=vt[u],m=vs(Object.assign(Object.assign({},e),{scheme:f})),y=s7(m),x=i||l?m:f.backgroundColorHovered,b="string"==typeof x?s7(x):x(y),C=ss[g],v=function(e){let{disabled:t,$isLoading:n}=e;return n?"default":t?"not-allowed":"pointer"}(e),j=ve[p],A=C8[d],w=C6[p]-2*j,k=a?"100%":"auto",S=vu(Object.assign(Object.assign({},e),{theme:s,scheme:f})),P=l&&f.colorSelected?f.colorSelected:f.color,L=l&&f.iconColorSelected?f.iconColorSelected:null!=(t=f.iconColor)?t:f.color,M=l&&f.iconColorSelected?f.iconColorSelected:null!=(n=f.colorHovered)?n:f.color;return(0,h.AH)(nB(),k,C,v,sc("linear-gradient(116.21deg, #44D2E9 10.82%, #D94CF8 62.26%, #50C8EA 113.17%)",1,"md"),vo,c?"block":"none",vl,y,C,S,s7(P),"center"===r?"center":"start","center"===r?"center":"flex-start",hC(j),hC(A),sg.subtle,sg.subtle,k,i?.5:1,vr,mj,hC(w),vl,b,vn,s7(M),vl,b,vl,hC(),vl,o&&"opacity: 0",vn,s7(L))}),vs=e=>{let{disabled:t,scheme:n,$isSelected:r}=e;return t&&n.backgroundColorDisabled?n.backgroundColorDisabled:r&&n.backgroundColorSelected?n.backgroundColorSelected:n.backgroundColor},vu=e=>{let{disabled:t,theme:n,scheme:r}=e,{values:i,colorScheme:o}=n;return t&&r.borderColorDisabled?s7(r.borderColorDisabled):r.borderColor?s7("string"==typeof r.borderColor?r.borderColor:r.borderColor(o)):i.transparent},vc=O.forwardRef((e,t)=>{var{alignment:n="center",wrap:r=!1,children:i,iconAfter:o,iconBefore:l,isDisabled:a=!1,isLoading:s=!1,isSelected:u=!1,shouldFitContainer:c=!1,hasAnimatedBorder:d=!1,horizontalPadding:p="md",verticalPadding:h="md",variant:f="primary",radii:m}=e,y=sk(e,["alignment","wrap","children","iconAfter","iconBefore","isDisabled","isLoading","isSelected","shouldFitContainer","hasAnimatedBorder","horizontalPadding","verticalPadding","variant","radii"]);let x=fN(),b=a||s;return(0,g.jsx)(va,Object.assign({$theme:x,$alignment:n,disabled:b,$isLoading:s,$isSelected:u,ref:t,$shouldFitContainer:c,$variant:f,$hasAnimatedBorder:d,$horizontalPadding:p,$verticalPadding:h,$radii:m},y,b?C4:{},{children:(0,g.jsxs)(vl,{children:[l&&(0,g.jsx)(vn,{children:l}),i&&(0,g.jsx)(vr,{$wrap:r,children:i}),o&&(0,g.jsx)(vn,{children:o}),s&&(0,g.jsx)(vi,{children:(0,g.jsx)(x7,{variant:"currentColor"})})]})}))}),vd=h.I4.div(nz(),hf,hC(1)),vp=h.I4.div(nY(),hC(.25),hC(3)),vh=h.I4.span(nG(),mS,s7("textSecondary")),vg=(0,h.I4)(vc)(nW(),hC(-.5),hC(3),hC(3)),vf=e=>{let{onBack:t,title:n,children:r}=e;return(0,O.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(e.preventDefault(),t())};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t]),(0,g.jsxs)(vd,{children:[(0,g.jsxs)(vp,{children:[(0,g.jsx)(vg,{variant:"subtle",horizontalPadding:"sm",verticalPadding:"sm",onClick:e=>{e.preventDefault(),t()},iconBefore:(0,g.jsx)(bU,{size:"sm"})}),(0,g.jsx)(vh,{children:n})]}),r]})},vm=e=>{let t=C0(gh(e=>e.computedConfig.type));return(0,g.jsx)(vf,{title:"Highlight",onBack:()=>e.setActiveSubMenu(null),children:(0,g.jsx)(C3,{children:e.options.map(n=>{var r;let i=t[n.annotation.highlight];return i?(0,g.jsxs)(Cy,{onClick:(r=n.annotation,()=>{let{propertyKey:t,rowIndex:n}=dQ(e.dataPoint.id);e.onAnnotate({id:crypto.randomUUID(),propertyKey:t,rowIndex:n,rowValue:e.getRowCategoricalValue(n),config:r})}),children:[(0,g.jsx)(i,{}),(0,g.jsx)(C7,{children:n.label})]},n.annotation.highlight):null})})})},vy=h.I4.ul(nU()),vx=h.I4.li(nN()),vb=h.I4.button(nK(),ss.sm,hC(.5),s7("grey80")),vC=e=>{let t=Object.entries(e.stickers);return(0,g.jsx)(vf,{title:"Add sticker",onBack:()=>e.setActiveSubMenu(null),children:(0,g.jsx)(vy,{children:t.map(t=>{let[n,r]=t;return(0,g.jsx)(vx,{children:(0,g.jsx)(vb,{onClick:()=>{let{propertyKey:t,rowIndex:r}=dQ(e.dataPoint.id);e.onAnnotate({id:crypto.randomUUID(),propertyKey:t,rowIndex:r,rowValue:e.getRowCategoricalValue(r),config:{type:"sticker",id:n}})},children:r})},n)})})})},vv={sm:16,md:32},vj=(0,h.i7)(nZ()),vA=h.I4.div(nQ(),e=>{let{$width:t,$isInstant:n}=e,r=hC(),i=hC(.5),o=vv[t];return(0,h.AH)(n_(),s7("grey100"),su.sm,ss.md,i,r,o,s7("textPrimary"),sA.tooltip,!n&&(0,h.AH)(nX(),vj,sg.subtle))}),vw=h.I4.svg(nJ(),s7("grey100")),vk=h.I4.div(nq(),mj,aU.bold),vS=h.I4.div(n$(),mS),vP=e=>{var{children:t,helperText:n,label:r,width:i="md",side:o,sideOffset:l=8,align:a,alignOffset:s,delayDuration:u=300,isDisabled:c=!1,isOpen:d,onOpenChange:p,textAlign:f,className:m,hasInvertedTheme:y=!0,disableHoverableContent:x=!0,container:b}=e,C=sk(e,["children","helperText","label","width","side","sideOffset","align","alignOffset","delayDuration","isDisabled","isOpen","onOpenChange","textAlign","className","hasInvertedTheme","disableHoverableContent","container"]);let v=fN();if(c)return(0,g.jsx)(g.Fragment,{children:t});let j=y?"dark"===v.colorScheme?hH:hD:v;return(0,g.jsxs)(eC.bL,{delayDuration:u,open:d,onOpenChange:p,disableHoverableContent:x,children:[(0,g.jsx)(eC.l9,{asChild:!0,children:t}),(0,g.jsx)(f_,{id:"tooltip-portal",zIndex:sA.tooltip,children:(0,g.jsx)(h.NP,{theme:j,children:(0,g.jsxs)(vA,Object.assign({as:eC.UC,$width:i,$isInstant:0===u,side:o,sideOffset:l,align:a,alignOffset:s,className:m,style:{textAlign:f}},C,{children:[(0,g.jsx)(vw,{as:eC.i3}),(0,g.jsx)(vk,{children:r}),n&&(0,g.jsx)(vS,{children:n})]}))})})]})},vL=(0,h.I4)(vP)(n1(),sA.hint),vM=e=>(0,g.jsx)(vL,Object.assign({isOpen:!0},e)),vO=h.I4.div(n0(),hf),vT=(0,O.forwardRef)((e,t)=>{var n,r;let{anchorElement:i,isOpen:o=!1,placement:l="top",offset:a=[4,0],zIndex:s=sA.popover,isWithinPortal:u=!1,children:c}=e,d=(0,O.useRef)(null),[p,h]=(0,O.useState)({x:0,y:0}),[f,m]=(0,O.useState)("absolute"),[y,x]=(0,O.useState)(l),b=gD([t,d]);if((0,O.useEffect)(()=>{if(i&&d.current&&o&&1)return(0,ev.ll)(i,d.current,()=>{(0,ev.rD)(i,d.current,{placement:l,middleware:[(0,ej.cY)({mainAxis:a[0],crossAxis:a[1]}),(0,ej.UU)(),(0,ej.BN)()]}).then(e=>{let{x:t,y:n,strategy:r,placement:i}=e;h({x:t,y:n}),m(r),x(i)})})},[i,o,l,a]),!o)return null;let C=null!==p.x&&null!==p.y,v=C?p.y:0,j=C?p.x:0,A=(0,g.jsx)(vO,{ref:b,style:{position:f,top:v,left:j,zIndex:s,visibility:C?"visible":"hidden"},children:"function"==typeof c?c({x:null!=(n=p.x)?n:0,y:null!=(r=p.y)?r:0,strategy:f,placement:y}):c});return u&&"undefined"!=typeof document?(0,g.jsx)(f_,{zIndex:s,children:A}):A});vT.displayName="Popper";let vD={default:{backgroundColor:"overlayBackground",borderGradient:"overlayBorderGradient",elevation:"lg"},grey80:{backgroundColor:"grey80",elevation:"lg"},secondary:{borderColor:"grey70",backgroundColor:"grey90",elevation:"lg"},subtle:{backgroundColor:"transparent",elevation:"none"}},vI=h.I4.div(n5(),e=>{let{$variant:t}=e,n=vD[t];return(0,h.AH)(n2(),s7(n.backgroundColor),ss.lg,su[n.elevation],n.borderColor?s7(n.borderColor):"transparent",n.borderGradient?sc(s7(n.borderGradient),1,"lg"):"")}),vE=(0,O.forwardRef)(function(e,t){let{isOpen:n=!1,children:r,anchorElement:i,offset:o=[0,4],placement:l="bottom",onClose:a,label:s,isWithinPortal:u=!1,variant:c="default"}=e,[d,p]=(0,O.useState)(null);return(0,O.useEffect)(()=>{if(!a||!n)return;let e=e=>{if(!(d&&i&&e.target instanceof Node))return;let t=d.contains(e.target),n=i instanceof Element&&i.contains(e.target);t||n||a()};return window.addEventListener("mousedown",e),()=>window.removeEventListener("mousedown",e)},[i,a,d,n]),(0,g.jsx)(vT,{ref:t,anchorElement:i,isOpen:n,placement:l,offset:o,isWithinPortal:u,zIndex:sA.popover,children:(0,g.jsx)(vI,{$variant:c,ref:p,role:"dialog","aria-label":s,children:r})})});h.I4.div(n3());let vH=(0,h.I4)(eA.bL)(n7()),vV=(0,h.I4)(eA.CC)(n9(),s7("grey50")),vF=(0,h.I4)(eA.Q6)(n4(),s7("grey0")),vB=(0,h.I4)(eA.zi)(n6(),s7("grey0"),su.sm),vR=e=>(0,g.jsxs)(vH,Object.assign({},e,{children:[(0,g.jsx)(vV,{children:(0,g.jsx)(vF,{})}),(0,g.jsx)(vB,{})]})),vz=h.I4.div(n8(),e=>{let{$canvasColors:t,$getName:n}=e;return t.map(e=>"--".concat(n(e),": ").concat(e.value,";")).join("\n")}),vY=e=>{let{children:t}=e,n=gh(e=>e.theme.canvasColors),r=gh(e=>e.canvasColorToVariableName);return(0,g.jsx)(vz,{$canvasColors:n,$getName:r,children:t})},vG={backgroundColor:"grey80",backgroundColorDisabled:"grey80",borderColor:"grey70",borderColorHovered:"grey70",borderColorFocused:"grey60",borderColorDisabled:"grey70",borderColorError:"alert",color:"textPrimary",colorDisabled:"textPrimary"},vW=Object.assign(Object.assign({},vG),{backgroundColor:"transparent",backgroundColorDisabled:"transparent"}),vU=Object.assign(Object.assign({},vG),{backgroundColor:"transparent",backgroundColorDisabled:"transparent",borderColor:"grey0",borderColorFocused:"grey0",borderColorHovered:"grey0",color:"grey0",placeholderColor:"textSecondary"}),vN={default:vG,subtle:Object.assign(Object.assign({},vG),{backgroundColor:"transparent",borderColorHovered:"transparent",backgroundColorDisabled:"transparent",borderColor:"transparent",borderColorFocused:"transparent",borderColorDisabled:"transparent",borderColorError:"alert"}),alternative:{backgroundColor:"grey90",backgroundColorDisabled:"grey90",borderColor:"grey90",borderColorHovered:"grey90",borderColorFocused:"grey80",borderColorDisabled:"grey90",borderColorError:"alert",color:"textPrimary",colorDisabled:"textPrimary"},secondary:vW,grey0:vU,grey80:Object.assign(Object.assign({},vG),{backgroundColor:"grey80",backgroundColorDisabled:"grey90",borderColor:"grey80",borderColorFocused:"grey80",borderColorHovered:"grey80",color:"textPrimary",placeholderColor:"textSecondary"})},vK=function(){let{isDisabled:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,h.AH)(rt(),e&&(0,h.AH)(re()))},vZ=function(){let{variant:e="default",isDisabled:t,isFocused:n,hasError:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=vN[e],o=r?i.borderColorError:i.borderColorFocused,l=r?i.borderColorError:i.borderColorHovered;return(0,h.AH)(rr(),s7(t?i.borderColorDisabled:r?i.borderColorError:i.borderColor),ss.md,s7(t?i.backgroundColorDisabled:i.backgroundColor),s7(l),s7(o),n&&(0,h.AH)(rn(),s7(o)))},vX=function(){let{variant:e="default",isDisabled:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=vN[e];return(0,h.AH)(ro(),mj,s7(t?n.colorDisabled:n.color),n.placeholderColor&&(0,h.AH)(ri(),s7(n.placeholderColor)))},v_=h.I4.div(ra(),hf,e=>{let{$hasError:t,$variant:n,$isFocused:r}=e;return vZ({variant:n,hasError:t,isFocused:r})},hC(1),hC(.6),hC(1),s7("textPrimary"),e=>{let{$isDisabled:t}=e;return t&&(0,h.AH)(rl())}),vQ=h.I4.div(rs(),hf,e=>{let{$hasError:t,$variant:n,$isFocused:r}=e;return vZ({variant:n,hasError:t,isFocused:r})},hC(.6),hC(1)),vJ=h.I4.input(rc(),e=>{let{$isDisabled:t}=e;return vK({isDisabled:t})},e=>{let{$hasError:t,$variant:n,$isFocused:r}=e;return vX({variant:n})},s7("textPrimary"),e=>{let{$isDisabled:t}=e;return t&&(0,h.AH)(ru())}),vq=h.I4.div(rd(),s7("grey70")),v$=h.I4.span(rp(),mj),v1=h.I4.div(rh(),hC(1)),v0=(0,h.I4)(ek.h)(rg(),ss.md,s7("grey90")),v2=(0,h.I4)(eS.t)(rf()),v5=(0,h.I4)(eP.hB)(rm(),ss.sm,s7("grey90")),v3=(0,h.I4)(eL.a)(ry(),s7("white"),su.sm),v7=h.I4.div(rx(),hf,sA.popover,s7("grey100"),ss.md,su.md,s7("grey90"),s7("textPrimary")),v9=h.I4.div(rb(),hC(1),hC(1.5)),v4=h.I4.div(rC(),mS,s7("textPrimary")),v6=e=>{let{label:t,value:n,onChange:r,hasError:i,variant:o="default",isDisabled:l=!1,isWithinPortal:a=!0,popoverContentProps:s}=e,[u,c]=(0,O.useState)(!1),d=a?ew.ZL:O.Fragment;return(0,g.jsxs)(ew.bL,{open:u,onOpenChange:e=>{l||c(e)},children:[(0,g.jsx)(ew.l9,{asChild:!0,children:(0,g.jsxs)(v_,{role:l?"":"button",tabIndex:l?-1:0,$hasError:i,$variant:o,$isFocused:u,$isDisabled:l,children:[(0,g.jsx)(vq,{style:{backgroundColor:n}}),(0,g.jsx)(v$,{children:null!=t?t:n})]})}),(0,g.jsx)(d,{children:(0,g.jsx)(fZ,{children:(0,g.jsx)(v7,Object.assign({as:ew.UC,align:"center",side:"bottom",sideOffset:hb(.5)},s,{children:(0,g.jsxs)(v9,{children:[(0,g.jsx)(v4,{children:"Pick color"}),(0,g.jsx)("div",{children:u&&(0,g.jsx)(v8,{initialValue:n,onChange:r,onEnterPress:()=>{c(!1)}})})]})}))})})]})},v8=e=>{let{initialValue:t,onChange:n,onEnterPress:r}=e,[i,o]=(0,O.useState)((0,eM.H0)(null!=t?t:"#af9af7").toFormat("hsb")),[l,a]=(0,O.useState)((0,eM.H0)(null!=t?t:"#af9af7").toString("hex"));return(0,g.jsx)(eO.sk,{value:i,onChange:e=>{o(e),a(e.toString("hex")),n(e.toString("hex"))},children:(0,g.jsxs)(v1,{children:[(0,g.jsx)(v0,{colorSpace:"hsb",xChannel:"saturation",yChannel:"brightness",children:(0,g.jsx)(v3,{})}),(0,g.jsx)(v2,{colorSpace:"hsb",channel:"hue",children:(0,g.jsx)(v5,{children:(0,g.jsx)(v3,{})})}),(0,g.jsx)(vQ,{children:(0,g.jsx)(vJ,{placeholder:"#000000",value:l,onChange:e=>{a(e.target.value);try{let t=e.target.value.trim();t.startsWith("#")||(t="#".concat(t));let r=(0,eM.H0)(t);o(r),n(r.toString("hex"))}catch(e){}},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),r())},onKeyDownCapture:e=>{"Backspace"===e.key&&e.stopPropagation()},autoFocus:!0})})]})})},je=h.I4.div(rv(),e=>{let{$isSelected:t}=e;return t?"3px solid ".concat(s7("grey60")):"none"}),jt=(0,h.I4)(je)(rj(),e=>{let{$colorOption:t}=e;return t},e=>{let{$borderColor:t}=e;return t}),jn=(0,h.I4)(je)(rA(),mD(1.4,void 0,.15),s7("grey60"));h.I4.div(rw(),hC(1));let jr=h.I4.div(rk(),mS,s7("textSecondary")),ji=h.I4.div(rS()),jo=h.I4.div(rP()),jl=h.I4.div(rL()),ja=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,js=(e,t)=>"var(--".concat(t(e),")"),ju=e=>{var t;let{seriesColorOptions:n,value:r,tooltip:i,onChange:o,renderIcon:l,getSwatchStyles:a,showTransparentOption:s,showOpacitySlider:u,opacityValue:c,onOpacityChange:d}=e,p=gh(e=>e.theme.canvasColors),h=gh(e=>e.canvasColorToVariableName),[f,m]=(0,O.useState)(!1),[y,x]=(0,O.useState)(null),[b,C]=(0,O.useState)(null);r=null!=r?r:null==(t=p[0])?void 0:t.value;let v=(e,t)=>{null==o||o(e),t&&m(!1)},j=(0,O.useMemo)(()=>e=>a?a(e):dJ(e),[a]),A=(0,O.useMemo)(()=>j(r),[j,r]),w=p.find(e=>js(e,h)===r),k=ja.test(r)?r:w&&ja.test(w.value)?w.value:void 0;return(0,g.jsxs)(vY,{children:[(0,g.jsx)(vE,{anchorElement:y,isOpen:f,placement:"bottom-start",offset:[0,8],children:(0,g.jsxs)(jr,{ref:C,children:[(0,g.jsx)("h4",{children:"Colors"}),(0,g.jsxs)(ji,{children:[p.map(e=>{var t;let n=j(e.value);return(0,g.jsx)(vP,{label:e.label,children:(0,g.jsx)(vc,{variant:"subtle",onMouseDown:t=>{t.preventDefault(),v(js(e,h),!0)},iconBefore:(0,g.jsx)(jt,{$borderColor:n.borderColor,$colorOption:n.fillColor,$isSelected:r===e.value})})},null!=(t=e.id)?t:e.value)}),s&&(0,g.jsx)(vP,{label:"Transparent",children:(0,g.jsx)(vc,{variant:"subtle",onMouseDown:e=>{e.preventDefault(),v("transparent",!0)},iconBefore:(0,g.jsx)(jn,{$isSelected:"transparent"===r})})})]}),(null==n?void 0:n.length)?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h4",{children:"Chart colors"}),(0,g.jsx)(ji,{children:n.map(e=>{let t=j(e.value);return(0,g.jsx)(vP,{label:e.label,children:(0,g.jsx)(vc,{variant:"subtle",onMouseDown:t=>{t.preventDefault(),v(e.value,!0)},iconBefore:(0,g.jsx)(jt,{$borderColor:t.borderColor,$colorOption:t.fillColor,$isSelected:r===e.value})})},e.label)})})]}):null,(0,g.jsx)("h4",{children:"Custom"}),(0,g.jsx)(jo,{children:(0,g.jsx)(v6,{isWithinPortal:!1,onChange:e=>v(e,!1),value:k,popoverContentProps:{side:"right",align:"start",sideOffset:16,onInteractOutside:e=>{(null==b?void 0:b.contains(e.target))||e.preventDefault()}}})}),u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h4",{children:"Opacity"}),(0,g.jsx)(jl,{children:(0,g.jsx)(vR,{min:0,max:1,step:.01,value:[null!=c?c:0],onValueChange:e=>{let[t]=e;return"number"==typeof t&&(null==d?void 0:d(t))}})})]})]})}),(0,g.jsx)(vP,{label:i,hasInvertedTheme:!1,children:(0,g.jsx)(vc,{ref:x,onMouseDown:e=>{e.preventDefault(),m(!f)},variant:"subtle",iconBefore:l?l(r):"transparent"===r?(0,g.jsx)(jn,{}):(0,g.jsx)(jt,{$borderColor:A.borderColor,$colorOption:A.fillColor})})})]})},jc=e=>{let{as:t,children:n,isDisabled:r=!1,shouldReturnFocus:i=!0}=e;return(0,g.jsx)(eE.Ay,{as:t,disabled:r,returnFocus:i,autoFocus:!1,children:n})},jd=(0,O.createContext)({descendants:[],availableDescendants:[],registerDescendant:()=>{},unregisterDescendant:()=>{}}),jp=()=>(0,O.useContext)(jd),jh=e=>{let{children:t}=e,[n,r]=(0,O.useState)([]),i=(0,O.useCallback)(e=>{var{element:t,index:n}=e,i=sk(e,["element","index"]);r(e=>e.find(e=>e.element===t&&e.index===n)?e:[...e,Object.assign(Object.assign({},i),{element:t})].map((e,t)=>Object.assign(Object.assign({},e),{index:t})))},[]),o=(0,O.useCallback)(e=>{r(t=>t.filter(t=>e!==t.element))},[]),l=(0,O.useMemo)(()=>n.filter(e=>{let{isDisabled:t}=e;return!t}),[n]),a=(0,O.useMemo)(()=>({descendants:n,availableDescendants:l,registerDescendant:i,unregisterDescendant:o}),[n,l,i,o]);return(0,g.jsx)(jd.Provider,{value:a,children:t})};function jg(e,t){return"".concat(e,"-option-").concat(t)}let jf=O.createContext(null),jm=()=>{var e;let t=(0,O.useContext)(jf);return null!=(e=null==t?void 0:t.appearance)?e:"default"},jy=e=>{let{appearance:t="default",children:n}=e,r=(0,O.useMemo)(()=>({appearance:t}),[t]);return(0,g.jsx)(jf.Provider,{value:r,children:n})},jx=(0,O.createContext)(null),jb=()=>{let e=(0,O.useContext)(jx);if(null===e)throw Error("Make sure MenuNavigationProvider is present in the react tree.");return e},jC=e=>{let{children:t,id:n,onItemSelect:r}=e,i=(0,O.useId)(),o=(0,O.useMemo)(()=>n||i,[n,i]),[l,a]=(0,O.useState)(-1),[s,u]=(0,O.useState)(!1),c=(0,O.useCallback)(()=>a(-1),[a]),d=(0,O.useMemo)(()=>({selectionIndex:l,moveSelectionIndex:a,clearSelectionIndex:c,menuId:o,shouldDisableMouseEvents:s,setDisableMouseEvents:u,onItemSelect:r}),[l,c,o,s,r]);return(0,g.jsx)(jx.Provider,{value:d,children:t})},jv=e=>{let{children:t}=e;return t},jj=(0,O.forwardRef)(function(e,t){let{"aria-label":n,children:r,numCols:i=1,isKeyboardNavigationEnabled:o,renderInner:l=jv,onKeyPressAtEdge:a,role:s="menu"}=e,{selectionIndex:u,moveSelectionIndex:c,menuId:d,setDisableMouseEvents:p}=jb(),{descendants:h,availableDescendants:f}=jp(),{hasFocus:m,focusBindings:y}=gC({onBlur:()=>{c(-1)}}),x=-1===u?void 0:jg(d,u),b=(0,O.useCallback)(e=>{p(!0);let t=f.findIndex(e=>{let{index:t}=e;return t===u}),n=(e=>{let{direction:t,numCols:n,currentIndex:r,maxIndex:i}=e;switch(t){case"ArrowDown":return Math.min(r+n,i);case"ArrowLeft":return r%n==0?r:Math.max(r-1,0);case"ArrowRight":return r%n==n-1?r:Math.min(r+1,i);case"ArrowUp":{let e=r-n;return e<0?r:e}}})({direction:e,numCols:i,maxIndex:h.length-1,currentIndex:t}),r=f[n];if(r){let e=dq(r.element);hd(r.element,e)||r.element.scrollIntoView({block:"nearest",inline:"nearest"}),c(r.index)}n===u&&(null==a||a(e))},[p,f,h.length,i,u,c,a]),C=(0,O.useCallback)(e=>{var t;if(["Enter","Tab"].includes(e.key)){let t=h[u];if(!t)return;return e.preventDefault(),void t.onSelect()}return"input"!==(null==(t=document.activeElement)?void 0:t.tagName)&&["ArrowLeft","ArrowRight"].includes(e.key)||["ArrowUp","ArrowDown"].includes(e.key)?(e.preventDefault(),void b(e.key)):void 0},[u,h,b]),v=m||o;return(0,O.useEffect)(()=>{if(v)return window.addEventListener("keydown",C),()=>{window.removeEventListener("keydown",C)}},[v,C]),(0,g.jsx)("div",Object.assign({id:d,"aria-activedescendant":x,"aria-label":n,role:s,ref:t},y,{tabIndex:-1,children:l({children:r})}))}),jA=(0,O.forwardRef)(function(e,t){let{"aria-label":n,children:r,id:i,numCols:o,isKeyboardNavigationEnabled:l,onKeyPressAtEdge:a,renderInner:s,role:u,onItemSelect:c,appearance:d}=e;return(0,g.jsx)(jh,{children:(0,g.jsx)(jC,{id:i,onItemSelect:c,children:(0,g.jsx)(jy,{appearance:d,children:(0,g.jsx)(jj,{ref:t,role:u,"aria-label":n,numCols:o,renderInner:s,isKeyboardNavigationEnabled:l,onKeyPressAtEdge:a,children:r})})})})}),jw=h.I4.div(rM(),hC(),hC()),jk=h.I4.div(rO(),mS,s7("textSecondary"),hC(),hC()),jS=e=>{let{children:t,title:n}=e;return(0,g.jsxs)(jw,{children:[(0,g.jsx)(jk,{children:n}),t]})},jP={sm:hC(.75),md:hC(1.25)},jL={default:"textPrimary",disabled:"textDisabled",selected:"textPrimary",highlighted:"textPrimary"},jM={default:"textPrimary",disabled:"textDisabled",selected:"textPrimary",highlighted:"textPrimary"},jO={default:{default:"transparent",disabled:"transparent",selected:"grey60",highlighted:"grey70"},popover:{default:"transparent",disabled:"transparent",selected:"grey60",highlighted:"grey70"},filled:{default:"grey70",disabled:"grey80",selected:"grey50",highlighted:"grey60"}},jT=h.I4.div(rT(),e=>{let{$shouldFillSpace:t}=e;return+!!t},e=>{let{$shouldFillSpace:t}=e;return+!!t},s7("textPrimary")),jD=(0,h.I4)(jT)(rI(),s7("textSecondary"),e=>{let{$hasEmphasis:t}=e;return t&&(0,h.AH)(rD(),s7("grey80"),hC(.5),hC(-.5),ss.md)}),jI=(0,h.I4)(jT)(rE(),hC(),hC(-1),hC(-1)),jE=h.I4.div(rH(),e=>{let{$variant:t}=e;return"bold"===t?mA:mj},hS),jH=h.I4.div(rV(),mS,s7("textSecondary")),jV=h.I4.div(rR(),e=>{let{$state:t,$appearance:n}=e;return s7(jO[n][t])},ss.lg,e=>{let{$gap:t}=e;return jP[t]},hC(1),hC(),e=>{let{$state:t}=e;return(0,h.AH)(rB(),jD,s7(jL[t]),jE,s7(jM[t]),"selected"!==t&&"disabled"!==t&&(0,h.AH)(rF(),jD,s7(jL.highlighted),jE,s7(jM.highlighted)))}),jF=h.I4.div(rY(),hf,e=>{let{$hasSpacing:t}=e;return t?"".concat(hC(.25)," 0"):"0"},e=>{let{$isClickable:t,$isDisabled:n}=e;return n?"not-allowed":t?"pointer":"inherit"},e=>{let{$hasHoverState:t,$isSelected:n,$appearance:r}=e;return t&&!n&&(0,h.AH)(rz(),jV,s7(jO[r].highlighted))}),jB=(0,O.forwardRef)((e,t)=>{var{children:n,isInteractive:r=!1,isHighlighted:i=!1,isDisabled:o=!1,isSelected:l=!1,hasSpacing:a=!0,gap:s="sm",appearance:u}=e,c=sk(e,["children","isInteractive","isHighlighted","isDisabled","isSelected","hasSpacing","gap","appearance"]);let d="default";o?d="disabled":l?d="selected":i&&(d="highlighted");let p=jm(),h=u||p;return(0,g.jsx)(jF,Object.assign({ref:t,$hasHoverState:r&&!o,$isSelected:l,$isClickable:(r||!!c.onClick)&&!o,$isDisabled:o,$hasSpacing:a,$appearance:h},c,{children:(0,g.jsx)(jV,{$state:d,$appearance:h,$gap:s,children:n})}))}),jR=e=>{let{shouldFillSpace:t=!1,button:n}=e;return(0,g.jsx)(jI,{$shouldFillSpace:t,children:n})},jz=e=>{var{icon:t,hasEmphasis:n=!1}=e,r=sk(e,["icon","hasEmphasis"]);return(0,g.jsx)(jD,Object.assign({$hasEmphasis:n},r,{children:t}))},jY=e=>{let{shouldFillSpace:t=!1,input:n}=e;return(0,g.jsx)(jI,{$shouldFillSpace:t,children:n})},jG=e=>{let{shouldFillSpace:t=!1,children:n}=e;return(0,g.jsx)(jT,{$shouldFillSpace:t,children:n})},jW=e=>{var{shouldFillSpace:t=!0,label:n,description:r,variant:i="default"}=e,o=sk(e,["shouldFillSpace","label","description","variant"]);return(0,g.jsxs)(jT,Object.assign({$shouldFillSpace:t},o,{children:[(0,g.jsx)(jE,{title:"string"==typeof n?n:"",$variant:i,children:n}),(0,g.jsx)(jH,{children:r})]}))},jU={sm:hC(1),md:hC(1.25)},jN=h.I4.span(rG(),e=>{let{$variant:t}=e;return mT[t]}),jK=h.I4.div(rW(),e=>{let{width:t}=e;return t}),jZ=h.I4.div(rN(),e=>{let{$variant:t,$lastLineWidth:n}=e;return(0,h.AH)(rU(),sb[t],hy,sx[t],ss.md,n)}),jX=h.I4.div(rK());h.I4.div(rZ(),jX,jN,jN,jX,e=>{let{size:t}=e;return jU[t]});let j_=e=>{var{numLines:t=1,variant:n="body",lineWidth:r="33%"}=e,i=sk(e,["numLines","variant","lineWidth"]);let o=t>1,l=o?r:"100%";return(0,g.jsx)(jK,Object.assign({width:o?"100%":r,"aria-hidden":!0},i,{children:Array(t).fill("").map((e,t)=>(0,g.jsx)(jZ,{$variant:n,$lastLineWidth:l},t))}))},jQ=e=>{let{shouldFillSpace:t=!0,hasDescription:n,lineWidth:r="40%"}=e;return(0,g.jsx)(jW,{shouldFillSpace:t,label:(0,g.jsx)(j_,{lineWidth:r}),description:n?(0,g.jsx)(j_,{variant:"caption",lineWidth:"70%"}):void 0})},jJ=(0,h.I4)(jT)(rX(),hC(1),hC(1),hC(.5)),jq=h.I4.div(r_(),mS,hS,s7("textSecondary")),j$=h.I4.div(rQ(),hC(-1),hC(-1.5)),j1=e=>{let{title:t,control:n}=e;return(0,g.jsxs)(jJ,{$shouldFillSpace:!0,children:[(0,g.jsx)(jq,{children:t}),(0,g.jsx)(j$,{children:n})]})},j0="titleSmaller",j2=h.I4.span(rJ(),mT[j0]),j5=e=>{let{buttonBefore:t,buttonAfter:n,iconBefore:r,contentAfter:i,children:o,hasSpacing:l}=e;return(0,g.jsxs)(jB,{hasSpacing:l,children:[t&&(0,g.jsx)(jR,{button:t}),r&&(0,g.jsx)(jz,{icon:r}),(0,g.jsx)(jG,{shouldFillSpace:!0,children:(0,g.jsx)(j2,{children:o})}),n&&(0,g.jsx)(jR,{button:n}),i&&(0,g.jsx)(jG,{children:i})]})},j3=e=>{let{element:t,isDisabled:n,onSelect:r}=e,i=function(){let[,e]=(0,O.useState)(Object.create(null));return(0,O.useCallback)(()=>{e(Object.create(null))},[])}(),{registerDescendant:o,unregisterDescendant:l,descendants:a}=(0,O.useContext)(jd),s=a.findIndex(e=>e.element===t),u=gE(a),c=a.some((e,t)=>{var n;return e.element!==(null==(n=null==u?void 0:u[t])?void 0:n.element)});return(0,O.useLayoutEffect)(()=>{t||i()},[t,i]),(0,O.useLayoutEffect)(()=>(t&&o({element:t,index:s,isDisabled:n,onSelect:r}),()=>{t&&l(t)}),[s,o,c,l,t,r,n]),s},j7=function(){let{isActive:e,isSelected:t,isDisabled:n,onSelect:r,onMouseEnter:i,onMouseLeave:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onItemSelect:l,selectionIndex:a,moveSelectionIndex:s,clearSelectionIndex:u,menuId:c,setDisableMouseEvents:d,shouldDisableMouseEvents:p}=jb(),h=(0,O.useRef)(null),g=(0,O.useCallback)(e=>{n||(null==l||l(),null==r||r(),null==e||e.stopPropagation())},[r,l,n]),f=j3({isDisabled:n,element:h.current,onSelect:g});(0,O.useEffect)(()=>{t&&-1===a&&s(f)},[t,f,s,a]);let m=(0,O.useCallback)(e=>{n||p||(s(f),null==i||i(e))},[f,s,i,n,p]),y=(0,O.useCallback)(e=>{p||(u(),null==o||o(e))},[u,o,p]),x=(0,O.useCallback)(()=>{!n&&p&&(d(!1),s(f))},[n,f,s,d,p]),b=!!(e||-1!==a&&f===a&&!n);return{ownRef:h,menuItemId:jg(c,f),isHighlighted:b,handleSelect:g,handleMouseEnter:m,handleMouseLeave:y,handleMouseMove:x}},j9=e=>{var{onClick:t}=e,n=sk(e,["onClick"]);let{menuItemId:r,ownRef:i,handleSelect:o,handleMouseEnter:l,handleMouseLeave:a,handleMouseMove:s}=j7({onSelect:t});return(0,g.jsx)(vc,Object.assign({},n,{ref:i,id:r,onClick:o,onMouseEnter:l,onMouseLeave:a,onMouseMove:s}))},j4=()=>(0,g.jsx)(jB,{children:(0,g.jsx)(jG,{shouldFillSpace:!0,children:(0,g.jsx)(j_,{variant:j0})})}),j6=h.I4.div(rq(),hS,s7("textSecondary")),j8=h.I4.div(r$(),s7("grey70"),hC(.5),hC(1)),Ae=O.forwardRef((e,t)=>{var{appearance:n,iconBefore:r,iconAfter:i,textAfter:o,buttonAfter:l,description:a,children:s,"aria-label":u,isActive:c,isDisabled:d,isSelected:p,onMouseEnter:h,onMouseLeave:f,onSelect:m,role:y="menuitem",shouldAutoHideDescription:x=!1}=e,b=sk(e,["appearance","iconBefore","iconAfter","textAfter","buttonAfter","description","children","aria-label","isActive","isDisabled","isSelected","onMouseEnter","onMouseLeave","onSelect","role","shouldAutoHideDescription"]);let{menuItemId:C,isHighlighted:v,ownRef:j,handleSelect:A,handleMouseEnter:w,handleMouseLeave:k,handleMouseMove:S}=j7({onSelect:m,onMouseEnter:h,onMouseLeave:f,isActive:c,isDisabled:d,isSelected:p}),P=!x||v;return(0,g.jsxs)(jB,Object.assign({appearance:n,hasSpacing:!1,"aria-label":u,"aria-disabled":d||void 0,isHighlighted:v,isDisabled:d,"aria-selected":!!p,onClick:A,onMouseEnter:w,onMouseLeave:k,onMouseMove:S,id:C,ref:gD([j,t]),role:y},b,{children:[r&&(0,g.jsx)(jz,{icon:r}),(0,g.jsx)(jW,{label:s,description:P?a:void 0}),o&&(0,g.jsx)(jG,{children:(0,g.jsx)(j6,{children:o})}),i&&(0,g.jsx)(jz,{icon:i}),l&&v&&(0,g.jsx)(jR,{button:l})]}))}),At=()=>(0,g.jsx)(j8,{}),An=e=>{let{hasDescription:t}=e;return(0,g.jsx)(jB,{children:(0,g.jsx)(jQ,{hasDescription:t})})},Ar={sm:{width:"16em",maxHeight:"35em"},md:{width:"26em",maxHeight:"35em"},lg:{width:"32.8em",maxHeight:"60em"}},Ai=(0,h.I4)(eh.P.div)(r0(),e=>{let{$size:t,$hasMaxWidth:n,$hasMaxHeight:r,$shouldFitContent:i}=e,{width:o,maxHeight:l}=Ar[t];return(0,h.AH)(r1(),!i&&"min-width: ".concat(o),n?o:"none",r?l:"none")});h.I4.div(r2(),hC(2),s7("textSecondary"));let Ao=h.I4.div(r5(),hC(.75),hC(1));h.I4.div(r3(),hC(1),hC(1),hC(.75),hC(1),Ao);let Al=h.I4.div(r7(),hC(.75),hC(1),hC(.25),hC(1)),Aa=e=>{var{title:t,onClose:n}=e,r=sk(e,["title","onClose"]);return(0,g.jsx)(Al,{children:(0,g.jsx)(j5,Object.assign({buttonAfter:(0,g.jsx)(vc,{"aria-label":"Close",variant:"subtle",iconBefore:(0,g.jsx)(bv,{}),onClick:n})},r,{children:t}))})},As=e=>{var{children:t,hasInitialPosition:n,hasMaxHeight:r=!0,hasMaxWidth:i=!1,isOpen:o,onClose:l,shouldAutoFocus:a=!0,shouldFitContent:s=!1,size:u="md",focusLockProps:c,headerProps:d,title:p}=e,h=sk(e,["children","hasInitialPosition","hasMaxHeight","hasMaxWidth","isOpen","onClose","shouldAutoFocus","shouldFitContent","size","focusLockProps","headerProps","title"]);let f=(0,O.useRef)(null);(0,O.useEffect)(()=>{var e;a&&n&&(null==(e=f.current)||e.focus())},[a,n]);let m=(0,O.useCallback)(e=>{"Escape"===e.key&&(null==l||l())},[l]),y=!!(d||p);return(0,g.jsx)(jc,Object.assign({},c,{shouldReturnFocus:!1,isDisabled:!a,children:(0,g.jsxs)(Ai,{$hasMaxHeight:r,$hasMaxWidth:i,onKeyDown:m,$shouldFitContent:s,$size:u,children:[y?(0,g.jsx)(Aa,Object.assign({title:p,onClose:l},d)):null,(0,g.jsx)(Ao,{children:(0,g.jsx)(jA,Object.assign({ref:f},h,{appearance:"popover",children:t}))})]})}))},Au=e=>{var{anchorElement:t,isOpen:n,isWithinPortal:r,label:i,variant:o,offset:l=[0,4],onClose:a,placement:s="bottom-start",shouldAutoClose:u=!0,popperRef:c}=e,d=sk(e,["anchorElement","isOpen","isWithinPortal","label","variant","offset","onClose","placement","shouldAutoClose","popperRef"]);let p=(0,O.useCallback)(()=>{u&&(null==a||a())},[u,a]);return(0,g.jsx)(vE,{isOpen:n,onClose:a,anchorElement:t,offset:l,placement:s,label:i,variant:o,isWithinPortal:r,ref:c,children:(0,g.jsx)(As,Object.assign({},d,{isOpen:n,onClose:a,onItemSelect:p}))})},Ac=h.I4.div(r9()),Ad=e=>{let{label:t,description:n,option:r,onSelect:i,isSelected:o,renderItem:l}=e;return l({menuItemProps:{onSelect:(0,O.useCallback)(()=>{null==i||i(r)},[i,r]),isSelected:o,role:"option"},label:t,option:r,description:n})},Ap=e=>{let{menuItemProps:t,label:n,description:r}=e;return(0,g.jsx)(Ae,Object.assign({},t,{description:r,children:n}))},Ah=O.forwardRef((e,t)=>{var{options:n,getOptionValue:r,getOptionLabel:i,getOptionDescription:o,onBlur:l,onChange:a,menuTitle:s,asyncProps:u,isRequired:c,isDisabled:d,isLoading:p,isWithinPortal:h,value:f,renderInner:m,shouldFitContainer:y=!1,shouldFitContent:x,shouldAutoFocus:b,shouldAutoClose:C,renderItem:v=Ap,menuProps:j,hasError:A,contextMenuProps:w,tooltip:k}=e,S=sk(e,["options","getOptionValue","getOptionLabel","getOptionDescription","onBlur","onChange","menuTitle","asyncProps","isRequired","isDisabled","isLoading","isWithinPortal","value","renderInner","shouldFitContainer","shouldFitContent","shouldAutoFocus","shouldAutoClose","renderItem","menuProps","hasError","contextMenuProps","tooltip"]);let{closeMenu:P,openMenu:L,isOpen:M,setMenuAnchor:T,contextMenuProps:D,menuTriggerAttributes:I,menuAnchor:E}=function(){let{menuRole:e="menu"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,O.useId)(),[n,r]=(0,O.useState)(null),[i,o]=(0,O.useState)(!1);return(0,O.useMemo)(()=>{let l=()=>o(!1),a=Object.assign({"aria-haspopup":e},i&&{"aria-expanded":!0,"aria-controls":t});return{openMenu:()=>o(!0),closeMenu:l,toggleMenu:()=>o(e=>!e),isOpen:i,menuTriggerAttributes:a,menuAnchor:n,setMenuAnchor:r,contextMenuProps:{id:t,role:e,anchorElement:n,isOpen:i,onClose:l}}},[t,n,i,e])}({menuRole:"listbox"}),H=Object.assign(Object.assign({},w),D),V=()=>{L()},F=()=>{P(),null==l||l()};(0,O.useImperativeHandle)(t,()=>({open:V,close:F,focus:()=>{E instanceof HTMLElement&&E.focus()}}));let B=(0,g.jsx)(Ac,Object.assign({},I,{role:"combobox","aria-required":c,"aria-disabled":d,onClick:()=>{M?P():L()},onKeyDown:e=>{"Enter"===e.key&&L()},ref:T,tabIndex:0,"aria-invalid":A},S));return(0,g.jsxs)(g.Fragment,{children:[k?(0,g.jsx)(vP,Object.assign({},k,{children:B})):B,(0,g.jsx)(Au,Object.assign({},j,{isWithinPortal:h,shouldFitContent:x,shouldFitContainer:y,renderInner:m},H,{onClose:F,children:n.map((e,t)=>{let n=r(e),l=i(e),s=o(e);return(0,g.jsx)(Ad,{isSelected:n===f,option:e,onSelect:a,label:l,description:s,renderItem:v},t)})}))]})}),Ag={default:{backgroundColor:"grey80",backgroundColorHovered:"grey80",borderColor:"grey70",borderColorHovered:"grey60",borderColorError:"alert"},subtle:{backgroundColor:"transparent",backgroundColorHovered:"grey80",borderColor:"transparent",borderColorHovered:"transparent",borderColorError:"transparent"},alternative:{backgroundColor:"grey90",backgroundColorHovered:"grey90",borderColor:"grey90",borderColorHovered:"grey90",borderColorError:"alert"},grey80:{backgroundColor:"grey80",backgroundColorHovered:"grey80",borderColor:"grey80",borderColorHovered:"grey80",borderColorError:"alert"},"grey100-border":{backgroundColor:"grey100",backgroundColorHovered:"grey95",borderColor:"grey80",borderColorHovered:"grey80",borderColorError:"alert"}},Af=e=>pg(e,"label")&&ph(e,"value"),Am=e=>Af(e)?e.label:"",Ay=e=>{if(Af(e))return e.value;throw Error("Invalid select option. Must contain `value` or a custom `getOptionValue` method")},Ax=e=>Af(e)?e.description:void 0,Ab=h.I4.select(r4()),AC="[placeholder]",Av=(0,O.forwardRef)((e,t)=>{var{value:n,onChange:r,onBlur:i,isDisabled:o,isRequired:l,options:a,getOptionValue:s,getOptionLabel:u,selectPlaceholder:c,hasError:d}=e,p=sk(e,["value","onChange","onBlur","isDisabled","isRequired","options","getOptionValue","getOptionLabel","selectPlaceholder","hasError"]);return(0,g.jsxs)(Ab,Object.assign({},p,{value:String(n)||AC,onChange:e=>{let t=e.target.value,n=a.find(e=>s(e)===t);n&&r&&r(n)},disabled:o,required:l,onBlur:i,"aria-invalid":d,ref:t,children:[(0,g.jsx)("option",{disabled:!0,value:AC,children:c}),a.map((e,t)=>{let n=s(e),r=u(e);return(0,g.jsx)("option",{value:String(n),children:r},t)})]}))}),Aj=h.I4.div(r8(),e=>{let{$isDisabled:t,$shouldFitContainer:n,$shouldFitContent:r,$variant:i,$hasError:o}=e,l=Ag[i],a=s7(l.backgroundColor),s=s7(l.backgroundColorHovered),u=s7(o?l.borderColorError:l.borderColorHovered),c=s7(o?l.borderColorError:l.borderColor);return(0,h.AH)(r6(),sj,t?.5:1,a,ss.md,c,n?"initial":"28em",r?"auto":"10em",t?"none":"auto",sg.subtle,n&&!r?"100%":"auto",hC(4),hC(1),hC(.5),hC(1),s,u,u)}),AA=h.I4.div(ie()),Aw=h.I4.div(it()),Ak=h.I4.div(ir(),mj,e=>{let{$isPlaceholder:t}=e;return t?.5:1},s7("textPrimary")),AS=h.I4.div(ii(),mS,s7("textSecondary")),AP=h.I4.div(io()),AL=h.I4.div(il(),s7("textDisabled")),AM=(0,O.forwardRef)(function(e,t){var{children:n,label:r,description:i,shouldFitContainer:o=!1,shouldFitContent:l=!1,variant:a="default",hasError:s,isDisabled:u,isLoading:c,iconBefore:d,isPlaceholder:p}=e,h=sk(e,["children","label","description","shouldFitContainer","shouldFitContent","variant","hasError","isDisabled","isLoading","iconBefore","isPlaceholder"]);return(0,g.jsxs)(Aj,Object.assign({},h,{$isDisabled:u||c,$hasError:s,$shouldFitContainer:o,$shouldFitContent:l,$variant:a,role:"button",ref:t,children:[(0,g.jsxs)(g.Fragment,c?{children:[(0,g.jsx)(AA,{children:(0,g.jsx)(x7,{variant:"muted"})}),(0,g.jsx)(AP,{})]}:{children:[d&&(0,g.jsx)(AA,{children:d}),(0,g.jsxs)(Aw,{children:[(0,g.jsx)(Ak,{$isPlaceholder:p,children:r}),i&&(0,g.jsx)(AS,{children:i})]})]}),(0,g.jsx)(AL,{children:(0,g.jsx)(bb,{size:"xs"})}),n]}))}),AO=(0,O.forwardRef)((e,t)=>{var{getOptionLabel:n=Am,getOptionValue:r=Ay,getOptionDescription:i=Ax,isDisabled:o,isLoading:l,isRequired:a,menuTitle:s,onChange:u,options:c=[],placeholder:d="Select an item",placeholderDescription:p,renderItem:h,renderValue:f=n,value:m,onBlur:y,id:x,disableNativeSelect:b,renderInner:C,menuProps:v,"aria-label":j,"aria-describedby":A,"aria-labelledby":w,isWithinPortal:k,shouldAutoSelectFirstOption:S=!1,shouldAutoOpen:P=!1,shouldFitContainer:L=!0,hasError:M,shouldFitContent:T,contextMenuProps:D,asyncProps:I,renderCustomControl:E,controlAriaLabel:H,tooltip:V,showDescriptionInControl:F=!0}=e,B=sk(e,["getOptionLabel","getOptionValue","getOptionDescription","isDisabled","isLoading","isRequired","menuTitle","onChange","options","placeholder","placeholderDescription","renderItem","renderValue","value","onBlur","id","disableNativeSelect","renderInner","menuProps","aria-label","aria-describedby","aria-labelledby","isWithinPortal","shouldAutoSelectFirstOption","shouldAutoOpen","shouldFitContainer","hasError","shouldFitContent","contextMenuProps","asyncProps","renderCustomControl","controlAriaLabel","tooltip","showDescriptionInControl"]);let{isMobile:R}=hM(),z=R&&!b,{menuSelectRef:Y,nativeSelectRef:G}=(e=>{let{ref:t,shouldAutoOpen:n,hasOptions:r}=e,i=(0,O.useRef)(null),o=(0,O.useRef)(null);return(0,O.useImperativeHandle)(t,()=>({focus:()=>{var e,t;null==(e=i.current)||e.focus(),null==(t=o.current)||t.focus()},close:()=>{var e,t;null==(e=i.current)||e.blur(),null==(t=o.current)||t.close()},open:()=>{var e,t;null==(e=i.current)||e.focus(),null==(t=o.current)||t.open()}})),(0,O.useEffect)(()=>{var e,t;n&&r&&(null==(e=i.current)||e.focus(),null==(t=o.current)||t.open())},[r,n]),{menuSelectRef:o,nativeSelectRef:i}})({ref:t,shouldAutoOpen:P,hasOptions:!!c.length});(e=>{let{options:t,value:n,onChange:r,shouldAutoSelectFirstOption:i}=e;(0,O.useEffect)(()=>{let[e]=t;if(!i||n||void 0===e)return;let o=setTimeout(()=>null==r?void 0:r(e),0);return()=>clearTimeout(o)},[r,t,i,n])})({options:c,value:m,onChange:u,shouldAutoSelectFirstOption:S});let W=m?f(m):d,U=m?i(m):p,N=m?r(m):void 0,K=Object.assign({label:W,description:F?U:void 0,isDisabled:o,shouldFitContent:T,isLoading:l,hasError:M,shouldFitContainer:L,isPlaceholder:!m,"aria-label":H},B),Z=(0,O.useCallback)(()=>z?(0,g.jsx)(Av,{ref:G,isRequired:a,options:c,value:N,onChange:u,onBlur:y,isDisabled:o,getOptionValue:r,getOptionLabel:n,id:x,"aria-describedby":A,selectPlaceholder:d,hasError:M}):(0,g.jsx)(Ah,{contextMenuProps:D,menuTitle:s,shouldFitContainer:L,ref:Y,shouldAutoFocus:S,menuProps:v,isRequired:a,isDisabled:o,options:c,asyncProps:I,shouldFitContent:T,value:N,onChange:u,onBlur:y,isLoading:l,getOptionValue:r,getOptionLabel:n,getOptionDescription:i,renderItem:h,renderInner:C,"aria-labelledby":w,"aria-describedby":A,"aria-label":j,isWithinPortal:k,hasError:M,tooltip:V}),[A,j,w,I,D,i,n,r,M,x,o,l,a,k,v,Y,s,G,y,u,c,d,C,h,N,S,L,T,z,V]);return E?(0,g.jsx)(g.Fragment,{children:E(Object.assign(Object.assign({},K),{renderMenuSelect:Z}))}):(0,g.jsx)(AM,Object.assign({},K,{children:Z()}))}),AT=hC(1),AD=hC(1),AI=hC(2),AE=h.I4.div(is(),e=>{let{$hasError:t,$isDisabled:n,$variant:r,$hasIconAfter:i,$hasIconBefore:o,$size:l}=e,a=i?"calc(var(--input-padding-x) + ".concat(xq.sm," + ").concat(hC(1),")"):"var(--input-padding-x)",s=o?"calc(var(--input-padding-x) + ".concat(xq.sm," + ").concat(hC(1),")"):"var(--input-padding-x)";return(0,h.AH)(ia(),hf,vZ({hasError:t,isDisabled:n,variant:r}),a,s,AF[l])}),AH=h.I4.input(ic(),e=>{let{$alignment:t,$hasError:n,$isDisabled:r,$variant:i}=e;return(0,h.AH)(iu(),vK({isDisabled:r}),vX({isDisabled:r,variant:i}),"center"===t?"center":"left")}),AV=h.I4.span(ip(),e=>{let{$position:t}=e;return(0,h.AH)(id(),t)});h.I4.div(ih(),hy,ss.md,e=>{let{$size:t}=e;return AF[t]});let AF={sm:(0,h.AH)(ig(),AT,hC(3)),md:(0,h.AH)(im(),AD,hC(4)),lg:(0,h.AH)(iy(),AI,hC(6))},AB=(0,O.forwardRef)((e,t)=>{var{alignment:n="left",iconAfter:r,iconBefore:i,hasError:o=!1,isDisabled:l=!1,size:a="md",isRequired:s,variant:u="default"}=e,c=sk(e,["alignment","iconAfter","iconBefore","hasError","isDisabled","size","isRequired","variant"]);let d=(0,O.useRef)(null),p=gD([t,d]),h={$alignment:n,$hasIconAfter:!!r,$hasIconBefore:!!i,$size:a,$hasError:o,$isDisabled:l,$variant:u};return(0,g.jsxs)(AE,Object.assign({},h,{onClick:e=>{var t;null==(t=d.current)||t.focus()},children:[(0,g.jsx)(AV,{$position:"left",children:i}),(0,g.jsx)(AH,Object.assign({},h,{"aria-invalid":o,disabled:l,ref:p,required:s,onKeyDown:e=>{var t;"Enter"===e.key&&e.currentTarget.blur(),null==(t=null==c?void 0:c.onKeyDown)||t.call(c,e)}},c)),(0,g.jsx)(AV,{$position:"right",children:r})]}))});AB.displayName="Input";let AR=h.I4.div(ix(),mL,s7("textSecondary"),hC(.5)),Az=e=>{let{label:t,input:n}=e;return(0,g.jsxs)("div",{children:[(0,g.jsx)(AR,{children:t}),n]})},AY=h.I4.div(ib(),hf),AG=e=>{let{propertyKey:t,palette:n,yAxisProperties:r,fallbackComponent:i=null,size:o}=e,l=function(e){let{yAxisProperties:t,palette:n,propertyKey:r}=e,i=t.findIndex(e=>e.key===r);return -1!==i?n[i%n.length]:void 0}({yAxisProperties:r,palette:n,propertyKey:t});if(!l)return i;let a=o&&xq[o];return(0,g.jsx)(AY,{style:{backgroundColor:l,width:a,height:a}})},AW=h.I4.div(iC(),hf),AU=(0,h.I4)(eT.p)(ij(),e=>{let{$isDisabled:t}=e;return vK({isDisabled:t})},e=>{let{$hasError:t,$variant:n,$isFocused:r}=e;return(0,h.AH)(iv(),vZ({variant:n,hasError:t,isFocused:r}),vX({variant:n}))},hC(.6),hC(1),s7("textPrimary"));h.I4.div(iA(),hC(.5));let AN=h.I4.div(iw(),hC(1),sA.toolbar,hC(.5),s7("overlayBackground"),ss.lg,sy.modern,sc(s7("overlayBorderGradient"),1,"lg")),AK=h.I4.div(ik(),hC(.25),hC(.75),s7("grey60")),AZ=(0,O.forwardRef)((e,t)=>{var{children:n}=e,r=sk(e,["children"]);return(0,g.jsx)(AN,Object.assign({role:"toolbar",ref:t},r,{children:(0,g.jsx)(eC.Bc,{children:n})}))});AZ.displayName="Toolbar";let AX=e=>{let t=function(){let[,e]=(0,O.useState)(0);return(0,O.useCallback)(()=>e(e=>e+1),[])}();return(0,O.useEffect)(()=>{let n=()=>{t()};return null==e||e.on("transaction",n),()=>{null==e||e.off("transaction",n)}},[e,t]),e},A_=/(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)+[a-z\u00A1-\uFFFF]{2,}\.?(?::\d{2,5})?(?:[#/?]\S*)?/gi,AQ=e=>{let{editor:t,onClose:n}=e;AX(t);let r=(0,O.useRef)(null),i=t.getAttributes("link").href;return(0,O.useEffect)(()=>{var e,t;null==(e=r.current)||e.focus(),null==(t=r.current)||t.select()},[]),(0,g.jsx)(eD.l,{"aria-label":"Create link",onSubmit:e=>{var r;e.preventDefault();let o=null!=(r=new FormData(e.currentTarget).get("href"))?r:"",l=t.state.selection.to;!o&&i?t.chain().unsetLink().setTextSelection(l).focus().run():o.match(A_)?t.chain().setLink({href:o,target:"_blank"}).setTextSelection(l).focus().run():t.chain().setTextSelection(l).focus().run(),n()},children:(0,g.jsxs)(AW,{children:[(0,g.jsx)(eI.A,{name:"href",autoFocus:!0,children:(0,g.jsx)(AU,{ref:r,placeholder:"Type or paste a link...",defaultValue:null!=i?i:""})}),(0,g.jsx)(vc,{horizontalPadding:"sm",verticalPadding:"sm",title:"Submit",iconBefore:(0,g.jsx)(bu,{}),variant:"subtle",type:"submit"})]})})},AJ=e=>e.state.selection.empty?e.chain().focus().selectAll():e.chain().focus(),Aq=e=>{let{editor:t,inheritedFont:n,fonts:r}=e,i=t.getAttributes("textStyle").font,o=r.find(e=>!!i&&e.id===i.id);return o||(o=r.find(e=>(null==e?void 0:e.id)===n)),o||(o=r[0]),(0,g.jsx)(AO,{variant:"subtle",options:r,value:o,onChange:e=>{e.id===n?AJ(t).unsetFont().run():AJ(t).setFont(e).run()},shouldFitContent:!0,renderValue:e=>(0,g.jsx)(A1,{children:function(e){switch(e){case cb.enum.fresh:return(0,g.jsx)(bA,{});case cb.enum.timeless:return(0,g.jsx)(bj,{});case cb.enum.modern:return(0,g.jsx)(bw,{});case cb.enum.technical:return(0,g.jsx)(bk,{});case cb.enum.fineliner:return(0,g.jsx)(bP,{});case cb.enum.brand:default:return(0,g.jsx)(bA,{})}}(e.id)}),renderItem:A$,getOptionValue:e=>e.id,tooltip:{label:"Font",hasInvertedTheme:!1}})},A$=e=>{let{menuItemProps:t,option:n}=e;return(0,g.jsx)(Ae,Object.assign({},t,{children:(0,g.jsx)("span",{style:{fontFamily:dW(n.fontFamily)},children:n.label})}))},A1=h.I4.div(iS()),A0=h.I4.div(iP(),hf),A2=h.I4.span(iL(),my),A5=h.I4.span(iM(),mx),A3=h.I4.span(iO(),mb),A7=h.I4.span(iT(),mS),A9=h.I4.span(iD(),mj),A4={value:null,label:"Text"},A6=[{value:6,label:"Caption"},A4,{value:3,label:"Heading 3"},{value:2,label:"Heading 2"},{value:1,label:"Heading 1"}],A8=e=>{var t;let{editor:n}=e,r=null!=(t=A6.find(e=>n.isActive("heading",{level:e.value})))?t:A4;return(0,g.jsx)(AO,{variant:"subtle",options:A6,value:r,onChange:e=>{null===e.value?n.chain().focus().setParagraph().run():n.chain().focus().toggleHeading({level:e.value}).run()},shouldFitContent:!0,renderValue:e=>e.label,renderItem:e=>{let{menuItemProps:t,option:n,label:r,description:i}=e;return(0,g.jsx)(Ae,Object.assign({},t,{description:i,children:(0,g.jsxs)(A0,{children:[1===n.value&&(0,g.jsx)(A2,{children:r}),2===n.value&&(0,g.jsx)(A5,{children:r}),3===n.value&&(0,g.jsx)(A3,{children:r}),6===n.value&&(0,g.jsx)(A7,{children:r}),null===n.value&&(0,g.jsx)(A9,{children:r})]})}))},tooltip:{label:"Heading level",hasInvertedTheme:!1}})},we=e=>{let{editor:t}=e,n=e=>n=>{let r=t.state.selection;t.chain().focus().setTextAlign(e).setTextSelection(r).run(),n.preventDefault()};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(vP,{label:"Align left",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{variant:"subtle",iconBefore:(0,g.jsx)(bc,{}),isSelected:t.isActive({textAlign:"left"}),onMouseDown:n("left")})}),(0,g.jsx)(vP,{label:"Align center",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{variant:"subtle",iconBefore:(0,g.jsx)(bd,{}),isSelected:t.isActive({textAlign:"center"}),onMouseDown:n("center")})}),(0,g.jsx)(vP,{label:"Align right",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{variant:"subtle",iconBefore:(0,g.jsx)(bp,{}),isSelected:t.isActive({textAlign:"right"}),onMouseDown:n("right")})})]})},wt=e=>{let{editor:t,seriesColorOptions:n,renderIcon:r,getColorStyles:i}=e,o=t.getAttributes("textStyle").color,l=o&&o.trim()?o:"#000";return(0,g.jsx)(ju,{tooltip:"Text color",value:l,onChange:e=>{AJ(t).setColor(e).run()},seriesColorOptions:n,renderIcon:r,getSwatchStyles:i})},wn=(0,O.forwardRef)(function(e,t){return(0,g.jsx)(vc,Object.assign({ref:t,variant:"subtle"},e))}),wr=(0,O.forwardRef)(function(e,t){let{ariaLabel:n,iconBefore:r,onClick:i,isSelected:o,supportedOptions:l,option:a}=e;return(null==l?void 0:l.includes(a))?(0,g.jsx)(wn,{ref:t,"aria-label":n,iconBefore:r,onMouseDown:e=>{e.preventDefault(),i()},isSelected:o}):null}),wi=e=>{let{editor:t,supportedOptions:n,onLinkClick:r,seriesColorOptions:i}=e;AX(t);let o=fB(),l=gg(e=>e.customAppearance.font);return(0,g.jsxs)(g.Fragment,{children:[n.includes("color")?(0,g.jsx)(wt,{editor:t,seriesColorOptions:i}):null,o&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Aq,{editor:t,fonts:o,inheritedFont:dU(l).heading.fontId})," ",(0,g.jsx)(AK,{})]}),n.includes("heading")?(0,g.jsx)(A8,{editor:t}):null,(0,g.jsx)(AK,{}),(0,g.jsx)(wr,{option:"bold",supportedOptions:n,ariaLabel:"Bold",iconBefore:(0,g.jsx)(bo,{}),onClick:()=>{t.chain().focus().toggleBold().run()},isSelected:t.isActive("bold")}),(0,g.jsx)(wr,{option:"italic",supportedOptions:n,ariaLabel:"Italic",iconBefore:(0,g.jsx)(bl,{}),onClick:()=>{t.chain().focus().toggleItalic().run()},isSelected:t.isActive("italic")}),(0,g.jsx)(wr,{option:"underline",supportedOptions:n,ariaLabel:"Underline",iconBefore:(0,g.jsx)(ba,{}),onClick:()=>{t.chain().focus().toggleUnderline().run()},isSelected:t.isActive("underline")}),(null==n?void 0:n.includes("textAlign"))?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(AK,{}),(0,g.jsx)(we,{editor:t})]}):null,(0,g.jsx)(AK,{}),(0,g.jsx)(wr,{option:"link",supportedOptions:n,ariaLabel:"Link",iconBefore:(0,g.jsx)(bs,{}),onClick:r,isSelected:t.getAttributes("link").href})]})};!function(e){e.OPTIONS="OPTIONS",e.LINK="LINK"}(s||(s={}));let wo=(0,O.forwardRef)((e,t)=>{var{editor:n,supportedOptions:r,seriesColorOptions:i,onClose:o}=e,l=sk(e,["editor","supportedOptions","seriesColorOptions","onClose"]);let[a,u]=(0,O.useState)(s.OPTIONS);return(0,g.jsxs)(AZ,Object.assign({ref:t},l,{children:[a===s.OPTIONS?(0,g.jsx)(wi,{editor:n,supportedOptions:r,onLinkClick:()=>{u(s.LINK)},seriesColorOptions:i}):null,a===s.LINK?(0,g.jsx)(AQ,{editor:n,onClose:o}):null]}))});wo.displayName="ToolbarContent";let wl=["color","bold","italic","underline","textAlign","heading","link"],wa=e=>{let{editor:t,supportedOptions:n=wl,seriesColorOptions:r}=e,[i,o]=(0,O.useState)(!1),l=(0,O.useRef)(null);return(0,O.useEffect)(()=>{if(!t)return;let e=()=>o(!0),n=e=>{var t;let{event:n}=e,{relatedTarget:r,currentTarget:i}=n;i instanceof Node&&r instanceof Node&&(i.contains(r)||(null==(t=l.current)?void 0:t.contains(r)))||o(!1)};return t.on("focus",e),t.on("blur",n),()=>{t.off("focus",e),t.off("blur",n)}},[t]),(0,O.useEffect)(()=>{if(i){let e=e=>{var n;!(e.target instanceof Node&&e.target.isConnected)||(null==(n=l.current)?void 0:n.contains(e.target))||(null==t?void 0:t.view.dom.contains(e.target))||o(!1)};return window.addEventListener("mousedown",e),()=>{window.removeEventListener("mousedown",e)}}},[null==t?void 0:t.view.dom,i]),(0,O.useEffect)(()=>{function e(e){if(t&&t.isFocused&&"Escape"===e.key){let e=t.state.selection.to;t.chain().setTextSelection(e).focus().run()}}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[t]),t&&i?(0,g.jsx)(wo,{editor:t,supportedOptions:n,seriesColorOptions:r,ref:l,onClose:()=>o(!1)}):null},ws=e=>{let{editor:t,"aria-label":n,spellCheck:r}=e;return(0,g.jsx)(eH.$Z,{editor:t,"aria-label":n,spellCheck:r})},wu=(0,h.AH)(iI(),"inline-react-renderer"),wc="graphy-text-node",wd=eF.Ay.configure({HTMLAttributes:{class:wc}}),wp=(0,h.AH)(iE(),wc,s7("grey60"),hC(1.2),s7("textSecondary")),wh=function(){for(var e=arguments.length,t=Array(e),n=0;n({href:{default:null}})}).configure({HTMLAttributes:{class:wc}}),wy=(0,h.AH)(iV(),wc,mw),wx=ez.Rg.configure({HTMLAttributes:{class:wc}}),wb=ez._J.configure({HTMLAttributes:{class:wc}}),wC=ez.ck.configure({HTMLAttributes:{class:wc}}),wv=(0,h.AH)(iF(),wc,wc,hC(4),wc,wc),wj=function(){for(var e=arguments.length,t=Array(e),n=0;n({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{font:{default:null,renderHTML:e=>e.font?{style:"font-family: ".concat(dW(e.font.fontFamily),";")}:{},parseHTML:e=>{for(let[t,n]of Object.entries(sy))if(e.style.fontFamily===n)return t;return null}}}}]},addCommands:()=>({setFont:e=>t=>{let{chain:n}=t;return n().setMark("textStyle",{font:e}).run()},unsetFont:()=>e=>{let{chain:t}=e;return t().setMark("textStyle",{font:null}).run()}})}),wT=[eU.A,eX.A,eN.A,wA,wg,wd,wm,wC,wx,wb,eW.Ay,eK.Ay,eZ.Ay,wk,e_.A.configure({types:["heading","paragraph"]}),eQ.xJ,wO,eQ.Q1,eJ.lb,eJ.vR,wM];function wD(e,t){var{content:n,extensions:r=wT,isValidContent:i,onError:o,isEditable:l}=e,a=sk(e,["content","extensions","isValidContent","onError","isEditable"]);return(0,eH.hG)(Object.assign(Object.assign({},a),{extensions:r,content:n,editable:l,onCreate:e=>{var t;(()=>{try{n&&"string"!=typeof n&&i(n)}catch(e){if(!o)throw new dK("caption-editor","Could not validate ProseMirror content",e);o(e)}})(),null==(t=null==a?void 0:a.onCreate)||t.call(a,e)},immediatelyRender:!1}),t)}function wI(){let{skip:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e||[]).map(e=>e.name);return wT.filter(e=>!t.includes(e.name))}let wE=eJ.Or.configure({showOnlyCurrent:!1}),wH=(0,h.AH)(iG(),s7("textDisabled")),wV=(0,h.AH)(iW(),wH),wF=(0,h.I4)(wL)(iN(),wV,e=>{let{$shouldFitContainer:t}=e;return t&&(0,h.AH)(iU())}),wB=e=>{var{showToolbar:t=!0,shouldFitContainer:n=!1,children:r,editor:i,seriesColorOptions:o}=e,l=sk(e,["showToolbar","shouldFitContainer","children","editor","seriesColorOptions"]);return(0,g.jsxs)(wF,{$shouldFitContainer:n,children:[t&&(0,g.jsx)(wa,{editor:i,seriesColorOptions:o}),(0,g.jsx)(ws,Object.assign({editor:i},l)),r]})};function wR(){let{placeholder:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...wI({skip:[wd,wg,wA]}),wj({addAttributes(){let e=this.parent;return Object.assign(Object.assign({},e?e():{}),{placeholder:{default:null}})}}),wh({addAttributes(){let e=this.parent;return Object.assign(Object.assign({},e?e():{}),{placeholder:{default:""}})}}),wE.configure({placeholder:t=>{let{node:n}=t;return n.attrs.placeholder||e}})]}let wz=(e,t)=>eq.bP.fromJSON(e,t).check(),wY=(0,eV._w)(wR()),wG=e=>wz(wY,e);function wW(e,t){var{placeholder:n,onEnterPress:r,onError:i,content:o,isEditable:l=!0}=e,a=sk(e,["placeholder","onEnterPress","onError","content","isEditable"]);return wD(Object.assign({extensions:function(e){var{onEnterPress:t}=e;return[...wR(sk(e,["onEnterPress"])),...t?[eV.YY.create({name:"interceptNewline",addKeyboardShortcuts:()=>({Enter:()=>(t(),!0)})})]:[]]}({placeholder:n,onEnterPress:r}),content:o,isEditable:l,onError:(0,O.useCallback)(e=>{throw i&&i(e),new dK("caption-editor","Could not display ProseMirror content",e)},[i]),isValidContent:wG},a),t)}let wU=O.forwardRef(function(e,t){var{children:n}=e,r=sk(e,["children"]);let i=wW(r);return(0,O.useImperativeHandle)(t,()=>({editor:i}),[i]),(0,O.useEffect)(()=>{!r.autofocus||(null==i?void 0:i.isDestroyed)||null==i||i.commands.focus()},[null==i?void 0:i.isDestroyed]),(0,g.jsx)(wB,Object.assign({editor:i},r,{children:null==n?void 0:n(i)}))}),wN=(0,O.createContext)(null),wK=ua(wN,"CaptionEditorControlledContext"),wZ=e=>{var{children:t,editorDeps:n}=e;let r=wW(sk(e,["children","editorDeps"]),n),i=(0,O.useMemo)(()=>({editor:r}),[r]);return(0,g.jsx)(wN.Provider,{value:i,children:t})},wX=e=>{var{children:t}=e,n=sk(e,["children"]);let{editor:r}=wK();return(0,g.jsx)(wB,Object.assign({editor:r},n,{children:t}))},w_={type:"doc",content:[{type:"paragraph"}]},wQ=D.Ik({type:D.eu("doc"),content:D.YO(D.Ik({type:D.eu("paragraph"),placeholder:D.Yj().optional(),content:D.Vx()})).length(1)}),wJ=e=>wQ.safeParse(e).success,wq=e=>{let t=eq.bP.fromJSON(wY,e);return t.textBetween(0,t.nodeSize-2,"\n").trim()},w$=/^\s*Source\s*:\s*.+$/,w1=e=>{let t=eq.bP.fromJSON(wY,e),n=[];return t.forEach(e=>{e.textContent.match(w$)||n.push(e.toJSON())}),{type:"doc",content:n}},w0=e=>{let t=null;return e.forEach(e=>{e.textContent.match(w$)&&(t=e.toJSON())}),t},w2=h.I4.div(iK(),hf,s7("textPrimary"),s7("textDisabled"),s7("textPrimary")),w5=e=>{var t,n;let r=(0,O.useRef)(null),[i,o]=(0,O.useState)(!(null==(n=null==(t=r.current)?void 0:t.editor)?void 0:n.state.doc.textContent.trim().length)),l=()=>{var t;let n=null==(t=r.current)?void 0:t.editor,i=null==n?void 0:n.state.doc.toJSON();if(!i)return;let{propertyKey:o,rowIndex:l}=dQ(e.dataPoint.id);e.onAnnotate({id:crypto.randomUUID(),propertyKey:o,rowIndex:l,rowValue:e.getRowCategoricalValue(l),config:{type:"tooltip",caption:i}})};return(0,g.jsxs)(vf,{title:"Annotate",onBack:()=>e.setActiveSubMenu(null),children:[(0,g.jsx)(w2,{children:(0,g.jsx)(wU,{onEnterPress:l,onUpdate:()=>{var e,t;o(!(null==(t=null==(e=r.current)?void 0:e.editor)?void 0:t.state.doc.textContent.trim().length))},autofocus:!0,ref:r,placeholder:"Add a comment",showToolbar:!1})}),(0,g.jsx)(vc,{onClick:l,alignment:"left",variant:"primary",disabled:i,verticalPadding:"sm",children:"Add"})]})},w3={type:"highlight",highlight:"data-point"},w7={type:"highlight",highlight:"series"},w9={type:"highlight",highlight:"x-value"},w4=e=>{let t=e.filter(ye).flatMap(e=>e.dataPoints.filter(m9)),n=new Set(t.map(e=>e.xValue));return{barsInBarGroupOrStack:Math.ceil(t.length/n.size),barSeriesCount:[...new Set(e.flatMap(e=>e.dataPoints.filter(m3).map(e=>{var t;return null!=(t=e.groupValues[0])?t:null})))].length,lineSeriesCount:[...new Set(e.flatMap(e=>e.dataPoints.filter(m5).map(e=>{var t;return null!=(t=e.groupValues[0])?t:null})))].length,pointSeriesCount:[...new Set(e.flatMap(e=>e.dataPoints.filter(m6).map(e=>{var t;return null!=(t=e.groupValues[0])?t:null})))].length}},w6=e=>{let t=fY("portalId"),n=xw("plotOffsetX"),r=xw("plotOffsetY"),i=xw("plotWidth"),o=xw("plotHeight");return(0,g.jsx)(f_,{elementId:t,id:"annotationsMenuAddon",zIndex:fV.annotationsMenu,children:(0,g.jsx)(xU,{style:{transform:"translate(".concat(n,"px, ").concat(r,"px)"),width:i,height:o},children:(0,g.jsx)(w8,Object.assign({},e))})})},w8=e=>{let{annotations:t,highlightStyle:n,getDataPointId:r,getRowCategoricalValue:i,stickers:o,onAnnotate:l,onRemoveHighlight:a}=e,s=fY("chartPortalId"),u=gh(e=>e.theme),{overlayState:{activeHitbox:c,closestDataPointToAnnotation:d,distanceToAnnotation:p},events:h}=m2(),[f,m]=(0,O.useState)(null),{canUserInteractWithAddon:y}=xG(),[x,b]=(0,O.useState)(!1),{isLineDimmed:C,isBarDimmed:v}=yn(),[j,A]=(0,O.useState)(!1),w=(0,O.useCallback)(e=>null!==e&&t.some(t=>!s$(t)&&sq(t)&&r(t)===e.id),[t,r]);(0,O.useEffect)(()=>{let e=e=>{let t=e.detail;y("annotationsMenuAddon")&&(w(t.closestDataPointToAnnotation)||t.distanceToAnnotation<=15&&(m(t.closestDataPointToAnnotation),b(!0),A(!0),h.emit("deactivateHitbox",{})))};return h.on("click",e),()=>h.off("click",e)},[y,h,w]),(0,O.useEffect)(()=>{null!==c&&(j||(d&&!w(d)&&m(d),p>15&&(b(!1),null===c&&m(null))))},[c,d,p,w,j]),(0,O.useEffect)(()=>{null!==c||x||m(null)},[c,x]),(0,O.useEffect)(()=>{w(d)&&m(null)},[f,d,w]);let k=(0,O.useMemo)(()=>(null==d?void 0:d.id)===(null==f?void 0:f.id)&&!w(d)&&p<=15,[d,p,w,f]);(0,O.useEffect)(()=>{k?document.body.style.cursor="pointer":document.body.style.removeProperty("cursor")},[k]);let S=(0,O.useMemo)(()=>null===f?{x:0,y:0}:xE(f),[f]),P=(e=>{let{dataPoint:t,highlightStyle:n,isLineDimmed:r,isBarDimmed:i}=e,o=fN();return t?m5(t)||m6(t)?yU({theme:o,color:t.vizColor,isDimmed:r(t.observation),highlightStyle:n}):m3(t)?yz({theme:o,fill:t.vizColor,opacity:t.fillOpacity,isDimmed:i(t.observation),highlightStyle:n}):"":""})({dataPoint:f,highlightStyle:n,isLineDimmed:C,isBarDimmed:v});return(0,g.jsx)(xK,{$isActive:j,children:(0,g.jsx)(xN,{$isVisible:null!==f,$isHovered:k,$isSticky:x,style:{transform:"translate(".concat(S.x,"px, ").concat(S.y,"px) translate(-50%, -50%)")},children:(0,g.jsxs)(eb.bL,{open:j,onOpenChange:A,children:[(0,g.jsx)(Cp,{plusStrokeColor:P,isOpen:j,isSticky:x,isHovered:k}),(0,g.jsx)(f_,{elementId:s,children:f&&(0,g.jsx)(ke,{theme:u,dataPoint:f,getRowCategoricalValue:i,stickers:o,onAnnotate:e=>{l(e),A(!1)},onRemoveHighlight:()=>{f&&a(f),A(!1)}})})]})})})},ke=(0,O.forwardRef)((e,t)=>{let[n,r]=(0,O.useState)(null),{isUnhighlightable:i,options:o}=(e=>{let{activeDataPoint:t}=e,{hitboxes:n}=m2(),{isPointHighlighted:r,isSeriesHighlighted:i,isBarHighlighted:o}=yn();return(0,O.useMemo)(()=>{let e=(e=>{let{activeDataPoint:t,hitboxes:n,isPointHighlighted:r,isSeriesHighlighted:i,isBarHighlighted:o}=e,l=(e=>{let{activeDataPoint:t,isPointHighlighted:n,isSeriesHighlighted:r,isBarHighlighted:i}=e;return t&&(m5(t)||m6(t))?r(t.observation)||n(t.observation):t&&m3(t)?i(t.observation):!(!t||!m4(t))&&n(t.observation)})({activeDataPoint:t,isPointHighlighted:r,isSeriesHighlighted:i,isBarHighlighted:o}),a=(e=>{let{activeDataPoint:t,hitboxes:n}=e,{lineSeriesCount:r,barsInBarGroupOrStack:i,barSeriesCount:o,pointSeriesCount:l}=w4(n);if(!t)return[];if(m6(t)){let e=[{label:"point",annotation:w3}];return l>1&&e.push({label:"series",annotation:w7}),e}if(m5(t)){let e=[{label:"point",annotation:w3}];return(r>1||1===r&&o>=1)&&e.push({label:"line",annotation:w7}),e}if(m3(t)){let e=[{label:"bar",annotation:w3}];return i>1&&e.push({label:"stacked"===t.stackType||"stacked-fill"===t.stackType?"stack":"group",annotation:w9}),o>1&&e.push({label:"series",annotation:w7}),e}return m4(t)?[{label:"slice",annotation:w9}]:[]})({activeDataPoint:t,hitboxes:n});if(!t)return{options:[],isUnhighlightable:l};if(m5(t)){let e=a;return r(t.observation)&&(e=e.filter(e=>"point"!==e.label)),i(t.observation)&&(e=e.filter(e=>"line"!==e.label)),{options:e,isUnhighlightable:l}}if(m6(t)){let e=a;return r(t.observation)&&(e=e.filter(e=>"point"!==e.label)),i(t.observation)&&(e=e.filter(e=>"series"!==e.label)),{options:e,isUnhighlightable:l}}if(m3(t)){let e=a;return o(t.observation)&&(e=e.filter(e=>"bar"!==e.label&&"total"!==e.label)),{options:e,isUnhighlightable:l}}if(m4(t)){let e=a;return r(t.observation)&&(e=e.filter(e=>"slice"!==e.label)),{options:e,isUnhighlightable:l}}return{options:[],isUnhighlightable:l}})({activeDataPoint:t,hitboxes:n,isPointHighlighted:r,isSeriesHighlighted:i,isBarHighlighted:o});return Object.assign(Object.assign({},e),{options:e.options})},[t,n,r,i,o])})({activeDataPoint:e.dataPoint}),l=(()=>{switch(n){case"sticker":return(0,g.jsx)(vC,{dataPoint:e.dataPoint,getRowCategoricalValue:e.getRowCategoricalValue,setActiveSubMenu:r,stickers:e.stickers,onAnnotate:e.onAnnotate});case"highlight":return(0,g.jsx)(vm,{dataPoint:e.dataPoint,getRowCategoricalValue:e.getRowCategoricalValue,setActiveSubMenu:r,onAnnotate:e.onAnnotate,options:o});case"text":return(0,g.jsx)(w5,{dataPoint:e.dataPoint,getRowCategoricalValue:e.getRowCategoricalValue,setActiveSubMenu:r,onAnnotate:e.onAnnotate});default:return(0,g.jsx)(C2,{dataPoint:e.dataPoint,getRowCategoricalValue:e.getRowCategoricalValue,setActiveSubMenu:r,onAnnotate:e.onAnnotate,onRemoveHighlight:i?e.onRemoveHighlight:void 0,highlightOptions:o})}})();return(0,g.jsx)(fK,{theme:e.theme,children:(0,g.jsx)(xJ,{ref:t,sideOffset:12,side:"right",align:"start",children:l})})});ke.displayName="AnnotationsMenu";let kt=e=>{let{dataPoint:t,formatter:n=sQ}=e;if(!m7(t))return null;let{alphaValue:r}=t;if(void 0===r)return null;let i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Geometry opacity value",title:i.plain,children:i.rich})},kn=e=>{let{dataPoint:t,formatter:n=sQ}=e,r=kr(t,n,fY("waterfallTotalLabel"));return(0,g.jsx)("span",{"aria-label":"X-axis value",title:r.plain,children:r.rich})},kr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sQ,n=arguments.length>2?arguments[2]:void 0,{id:r,xValue:i,relatedXValue:o}=e;return r===dX?{plain:n,rich:n}:t(null!=o?o:i,e)},ki=e=>{let{dataPoint:t,formatter:n=sQ}=e,{yValue:r}=t,i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Y-axis value",title:i.plain,children:i.rich})},ko=e=>{let{dataPoint:t,formatter:n=sQ}=e;return m6(t)&&t.labelValue?(0,g.jsx)(kl,{dataPoint:t,formatter:n}):(0,g.jsx)(ka,{dataPoint:t,formatter:n})},kl=e=>{let{dataPoint:t,formatter:n=sQ}=e,{labelValue:r}=t;if(!r)return null;let i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Grouping",title:i.plain,children:i.rich})},ka=e=>{let{dataPoint:t,formatter:n=sQ}=e,{groupValues:[r]}=t;if(!r)return null;let i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Grouping",title:i.plain,children:i.rich})},ks=e=>{let{dataPoint:t,formatter:n=sQ}=e,{pieLabel:r}=t,i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Label",title:i.plain,children:i.rich})},ku=e=>{let{dataPoint:t,formatter:n=sQ}=e,{pieValue:r}=t,i=n(r,t);return(0,g.jsx)("span",{"aria-label":"Value",title:i.plain,children:i.rich})},kc=e=>new Date(e.getTime()),kd=e=>{let{xType:t,dataPoint:n,previousDataPoint:r,formatter:i,labelSize:o,trendSize:l}=e,{xValue:a,yValue:s}=n,u=(0,Y.A)(),c=(0,O.useMemo)(()=>{var e;if(!r)return null;let n=fv({intl:u,primaryValue:s,comparisonValue:r.yValue});return null===n?null:Object.assign(Object.assign({},n),{fromText:null!=(e=(e=>{let{currentXValue:t,previousXValue:n,xType:r,width:i}=e;if(null===t||null===n)return null;if(!dS(r))return"previous";let o=gG(t),l=gG(n),a="long"===i?"previous":"prev";return(0,e$.n)(o,(e=>kc(e).setUTCFullYear(e.getUTCFullYear()+1))(l))?"".concat(a," year"):(0,e$.n)(o,(e=>kc(e).setUTCMonth(e.getUTCMonth()+1))(l))?"".concat(a," month"):(0,e$.n)(o,(e=>kc(e).setUTCDate(e.getUTCDate()+7))(l))?"".concat(a," week"):(0,e$.n)(o,(e=>kc(e).setUTCDate(e.getUTCDate()+1))(l))?"".concat(a," day"):(0,e$.n)(o,(e=>kc(e).setUTCHours(e.getUTCHours()+1))(l))?"".concat(a," hour"):null})({currentXValue:a,previousXValue:r.xValue,xType:t,width:"small"===o?"short":"long"}))?e:i?i(r.xValue,r).plain:g5({intl:u,value:r.xValue})})},[r,u,s,a,t,o,i]);return c?(0,g.jsx)(f4,{size:o,text:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(sZ,{appearance:c.appearance,size:l,children:c.label})," ",(0,g.jsxs)("span",{children:["vs ",c.fromText]})]})}):null},kp=e=>{if((e=>m3(e)&&"hatched"===e.fillType||m5(e)&&"dashed"===e.lineType)(e))return"hatched"},kh=h.I4.div(iZ()),kg=h.I4.div(iX(),hC(.25)),kf=h.I4.span(i_(),si,e=>{let{$shouldTruncate:t}=e;return t&&hS},s7("white")),km=h.I4.span(iQ(),sl,e=>{let{$shouldTruncate:t}=e;return t&&hS},s7("tooltipLabelTextColor")),ky=e=>{let{footerLabel:t,items:n,shouldTruncate:r=!1}=e;return(0,g.jsxs)(kh,{children:[n.map((e,t)=>{let{legendSymbol:n,label:i,trend:o}=e;return(0,g.jsxs)(O.Fragment,{children:[(0,g.jsxs)(kg,{children:[n,(0,g.jsx)(kf,{$shouldTruncate:r,children:i})]}),o]},t)}),t&&(0,g.jsx)(km,{$shouldTruncate:r,children:t})]})},kx=()=>{let e=fN(),{isBarDimmed:t,isLineDimmed:n,dimAmount:r}=yn();return{getLegendSymbolFill:(i,o)=>{let l=(e=>m3(e)?t(e.observation):!!m5(e)&&n(e.observation))(i)&&"normal"===r,a=(e=>m3(e)?e.fillOpacity:1)(i);if(m3(i))return yz({theme:e,fill:i.vizColor,opacity:a,isDimmed:l,highlightStyle:o});if(m5(i))return yU({theme:e,color:i.vizColor,isDimmed:l,highlightStyle:o});try{return ex.Ay.mix(e.values.grey100,i.vizColor,a).hex()}catch(e){return i.vizColor}}}},kb=e=>{var{xType:t,isPinned:n=!1,shouldShowTrend:r,isHovering:i=!1,shouldShowMiniTooltip:o,highlightStyle:l,dataPoint:a}=e,s=sk(e,["xType","isPinned","shouldShowTrend","isHovering","shouldShowMiniTooltip","highlightStyle","dataPoint"]);let u=(0,Y.A)(),{getLegendSymbolFill:c}=kx();if(!a||!m4(a)&&!m9(a))return null;let d=kC(Object.assign({dataPoint:a,intl:u,xType:t,shouldShowTrend:r,shouldShowMiniTooltip:o,getLegendSymbolFill:c,highlightStyle:l},s)),p=n||o;return kv({isPinned:n,isHovering:i,shouldShowMiniTooltip:o})?(0,g.jsx)(ky,{footerLabel:p?void 0:d.label,items:[{label:d.value,legendSymbol:(0,g.jsx)(sV,{symbol:a.type,fill:c(a,l),pattern:kp(a)}),trend:kj(a,{isPinned:n,shouldShowTrend:r})&&(0,g.jsx)(kd,{xType:t,dataPoint:a,previousDataPoint:a.previousDataPoint,formatter:s.formatXValue,labelSize:"small",trendSize:"small"})}]}):(0,g.jsx)(mg,Object.assign({},d))},kC=e=>{var{dataPoint:t,intl:n,xType:r,shouldShowMiniTooltip:i,shouldShowTrend:o,getLegendSymbolFill:l,highlightStyle:a}=e,s=sk(e,["dataPoint","intl","xType","shouldShowMiniTooltip","shouldShowTrend","getLegendSymbolFill","highlightStyle"]);let{previousDataPoint:u}=t,c={heading:null,value:null,label:null,caption:null,accessory:(0,g.jsx)(sV,{symbol:t.type,fill:l(t,a),pattern:kp(t)}),trend:null};if(m4(t)){let{percentage:e,valueType:r}=t;return Object.assign(Object.assign({},c),{heading:(0,g.jsx)(ks,{dataPoint:t,formatter:s.formatPieLabel}),value:(0,g.jsx)(ku,{dataPoint:t,formatter:s.formatPieValue}),label:i?(0,g.jsx)(ks,{dataPoint:t,formatter:s.formatPieLabel}):null,caption:r===h4.Percentage?null:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(sZ,{appearance:"neutral",children:fi({intl:n,value:e})})," of total"]})})}return m9(t)?m7(t)?Object.assign(Object.assign({},c),{value:(0,g.jsx)(kt,{dataPoint:t,formatter:s.formatAlphaValue}),label:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ki,{dataPoint:t,formatter:s.formatYValue})," \xb7"," ",(0,g.jsx)(kn,{dataPoint:t,formatter:s.formatXValue})]})}):Object.assign(Object.assign({},c),{heading:(0,g.jsx)(ko,{dataPoint:t,formatter:s.formatGroupValue}),value:(0,g.jsx)(ki,{dataPoint:t,formatter:s.formatYValue}),label:(0,g.jsx)(kn,{dataPoint:t,formatter:s.formatXValue}),trend:o&&(0,g.jsx)(kd,{xType:r,dataPoint:t,previousDataPoint:u,formatter:s.formatXValue})}):c},kv=e=>{let{isPinned:t,isHovering:n,shouldShowMiniTooltip:r}=e;return t&&!n||!t&&r},kj=(e,t)=>{let{isPinned:n,shouldShowTrend:r}=t;return!!(r&&!n&&m9(e)&&!m7(e))},kA=h.I4.div(iJ(),hC(.8));h.I4.div(iq(),so,s7("white"));let kw=h.I4.div(i$()),kk=h.I4.div(i1()),kS=h.I4.div(i0(),sr,s7("tooltipLabelTextColor")),kP=e=>{let{accessory:t,value:n,label:r,caption:i}=e;return(0,g.jsxs)(kw,{children:[(0,g.jsx)(kk,{children:i}),(0,g.jsxs)(kS,{children:[(0,g.jsxs)(kA,{children:[null!=t?t:(0,g.jsx)("div",{}),r]}),n]})]})},kL=e=>{let{dataPoint:t,formatPieValue:n,formatPieLabel:r,isPinned:i=!1,formatXValue:o,formatYValue:l,formatAlphaValue:a,isEditable:s,isHovering:u=!1,annotationConfig:c,highlightStyle:d,onUpdate:p}=e,{getLegendSymbolFill:h}=kx(),f=wD({content:null==c?void 0:c.caption,isValidContent:e=>!!e},[null==c?void 0:c.caption]),m=(0,O.useMemo)(()=>{let e={caption:(0,g.jsx)(wU,{content:null==c?void 0:c.caption,isEditable:s,placeholder:"",showToolbar:!1,onBlur:e=>{null==p||p(e.editor.getJSON())}}),accessory:null,label:null,value:null};return m9(t)&&(e.accessory=(0,g.jsx)(sV,{symbol:t.type,fill:h(t,d),pattern:kp(t)}),m7(t)?(e.label=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ki,{dataPoint:t,formatter:l})," \xb7"," ",(0,g.jsx)(kn,{dataPoint:t,formatter:o})]}),e.value=(0,g.jsx)(kt,{dataPoint:t,formatter:a})):(e.label=(0,g.jsx)(kn,{dataPoint:t,formatter:o}),e.value=(0,g.jsx)(ki,{dataPoint:t,formatter:l}))),m4(t)&&(e.accessory=(0,g.jsx)(sV,{symbol:t.type,fill:h(t,d)}),e.label=(0,g.jsx)(ks,{dataPoint:t,formatter:r}),e.value=(0,g.jsx)(ku,{dataPoint:t,formatter:n})),e},[null==c?void 0:c.caption,t,a,r,n,o,l,h,d,s,p]);return t?i&&!u?(0,g.jsx)(ky,{items:[{label:null==f?void 0:f.getText()}],shouldTruncate:!0}):(0,g.jsx)(fK,{theme:hD,children:(0,g.jsx)(kP,Object.assign({},m))}):null},kM=e=>{let{dataPoint:t,xType:n,arrowPlacement:r,highlightStyle:i,isEditable:o,onUpdate:l,matchingAnnotation:a,formatters:s}=e,[u,c]=(0,O.useState)(!1),d=void 0!==(null==a?void 0:a.caption),p=null!=n?n:h4.Text;return a?(0,g.jsx)(mr,{hasArrow:!0,arrowPlacement:r,onHover:()=>c(!0),onHoverEnd:()=>c(!1),children:d?(0,g.jsx)(kL,Object.assign({},s,{dataPoint:t,annotationConfig:a,isPinned:!0,isEditable:o,isHovering:u,onUpdate:l,highlightStyle:i})):(0,g.jsx)(kb,u?Object.assign({},s,{dataPoint:t,xType:p,isPinned:!0,isHovering:!0,shouldShowMiniTooltip:!1,shouldShowTrend:!1,highlightStyle:i}):Object.assign({},s,{dataPoint:t,xType:p,isPinned:!0,isHovering:!1,shouldShowMiniTooltip:!0,shouldShowTrend:!1,highlightStyle:i}))}):null},kO=e=>{let{dataPoint:t,xType:n,shouldShowTrend:r,highlightStyle:i,formatters:o,shouldShowMiniTooltip:l}=e,a=null!=n?n:h4.Text;return(0,g.jsx)(mr,{hasArrow:!1,children:(0,g.jsx)(kb,Object.assign({},o,{dataPoint:t,xType:a,isPinned:!1,isHovering:!0,shouldShowMiniTooltip:l,shouldShowTrend:dS(a)&&r,highlightStyle:i}))})},kT=e=>{var{mode:t="hover",dataPoint:n,xType:r=h4.Text,shouldShowTrend:i,annotations:o,arrowPlacement:l,highlightStyle:a,isEditable:s,onUpdate:u,shouldShowMiniTooltip:c}=e,d=sk(e,["mode","dataPoint","xType","shouldShowTrend","annotations","arrowPlacement","highlightStyle","isEditable","onUpdate","shouldShowMiniTooltip"]);let p=(0,O.useMemo)(()=>{var e;let t=null==o?void 0:o.find(e=>!s$(e)&&!!sq(e)&&d_(e)===(null==n?void 0:n.id));return"tooltip"===(null==(e=null==t?void 0:t.config)?void 0:e.type)?t.config:null},[o,null==n?void 0:n.id]);return"pinned"===t?(0,g.jsx)(kM,{dataPoint:n,xType:r,arrowPlacement:l,highlightStyle:a,isEditable:s,onUpdate:u,matchingAnnotation:p,formatters:d}):(0,g.jsx)(kO,{dataPoint:n,xType:r,shouldShowTrend:i,highlightStyle:a,formatters:d,shouldShowMiniTooltip:!!c})},kD=e=>{let{overlayState:t}=m2(),{pointer:n,plotWidth:r,closestGeomDataPoint:i}=t,o=null!==r&&r<=400,{canUserInteractWithAddon:l}=xG(),a=l("tooltipAddon"),{isVisible:s,setTooltipContainer:u,position:c}=ml({isEnabled:null!==i&&a,pointer:n,offset:o?12:24});return s&&i?(0,g.jsx)(f7,{ref:u,children:(0,g.jsx)("div",{style:c,children:(0,g.jsx)(kT,Object.assign({dataPoint:i,shouldShowMiniTooltip:o},e))})}):null},kI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{id:"tooltip",render:()=>(0,g.jsx)(kD,Object.assign({mode:"hover"},e))}},kE=O.createContext(null),kH=()=>{let e=(0,O.useContext)(kE);if(null===e)throw Error("ScalesProvider must be present in the React tree");return e},kV={xValues:[],_setXValues(){},yDomain:[],_setYDomain(){},secondaryYDomain:[],_setSecondaryYDomain(){},legendItems:[],_setLegendItems(){},defaultLegendPosition:"top",_setDefaultLegendPosition(){},availableLegendPositions:[],_setAvailableLegendPositions(){}},kF=O.createContext(null),kB=()=>{let e=(0,O.useContext)(kF);return null!=e?e:kV},kR=e=>{let{children:t}=e,[n,r]=(0,O.useState)([]),[i,o]=(0,O.useState)([]),[l,a]=(0,O.useState)([]),[s,u]=(0,O.useState)([]),[c,d]=(0,O.useState)("top"),[p,h]=(0,O.useState)([]),f=(0,O.useMemo)(()=>({xValues:n,_setXValues:r,yDomain:i,_setYDomain:o,secondaryYDomain:l,_setSecondaryYDomain:a,legendItems:s,_setLegendItems:u,defaultLegendPosition:c,_setDefaultLegendPosition:d,availableLegendPositions:p,_setAvailableLegendPositions:h}),[n,i,l,s,c,p]);return(0,g.jsx)(kF.Provider,{value:f,children:t})},kz=[...cJ,...cq,"waterfall","combo","funnel"],kY=(e,t)=>{let n=0;return 1===e?n=.75/t:e>1&&(n=.7/e/t+.2),{innerPadding:n,outerPadding:.5*n}},kG=[...cJ,...cq,"heatmap","combo"],kW=(e,t)=>{let n=t.getTime()-e.getTime();return e.getFullYear()===t.getFullYear()-1&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()?"yearly":e.getMonth()+1===t.getMonth()||11===e.getMonth()&&0===t.getMonth()&&e.getFullYear()+1===t.getFullYear()?"monthly":6048e5===n?"weekly":864e5===n?"daily":36e5===n?"hourly":null},kU=e=>{let{vizType:t,children:n,aestheticMappings:r,data:i,options:o,xGoalValue:a,yGoalValue:s,comboPlotAxisCount:u="double",flipAxes:c}=e,{x:d,y:p,size:h,yValue:f,group:m,xStackLower:y,xStackUpper:x,yStackLower:b,yStackUpper:C}=r,v=xw("plotWidth"),j=xw("plotHeight"),A=gh(e=>e.computedConfig.comboPlotType),w=c?j:v,k=c?v:j,S=(0,O.useMemo)(()=>(e=>{let{vizType:t,data:n,x:r,y:i,group:o}=e;if(!r||!i||!kz.includes(t))return{innerPadding:0,outerPadding:0};let l=[...new Set(n.getValues(r))].length;if(!m_(o))return kY(l,1);switch(t){case"barStacked":case"columnStacked":case"barStackedFill":case"columnStackedFill":{let{barGroupKeys:e}=yc({vizType:t,observations:[...n],x:r,y:i,group:o});return kY(l,0===e.length?1:e.length)}default:{let{partitionKeys:e}=ym({observations:[...n],group:o});return kY(l,e.length)}}})({vizType:t,data:i,x:d,y:p,group:m}),[i,m,t,d,p]),P=(e=>{let{data:t,x:n,xStackLower:r,xStackUpper:i,comboPlotType:o,plotMainSize:a,innerPadding:s=0,outerPadding:u=0,xGoalValue:c,yGoalValue:d}=e,p=n?t.getType(n):h4.Decimal,h=gh(e=>e.computedConfig.type),g=(0,O.useMemo)(()=>n?[...new Set(t.getValues(n))]:[],[t,n]),f=(0,O.useMemo)(()=>yw(p,c)&&yk(d)?[...new Set([...g,c])]:g,[c,p,g,d]),m=(0,O.useMemo)(()=>y1({vizType:h,orientation:l.X,comboPlotType:o,values:f,dataType:p,range:[0,a],innerPadding:s,outerPadding:u}),[s,u,a,o,p,f,h]),y=(0,O.useMemo)(()=>y$({data:t,dimensionSize:a,lowerKey:r,upperKey:i}),[t,a,r,i]),x=(0,O.useMemo)(()=>y7({orientation:l.X,vizType:h,comboPlotType:o,scale:m,dataType:p,getValue:e=>e[n]}),[h,o,n,m,p]),b=(0,O.useMemo)(()=>{let e=y1({orientation:l.X,vizType:h,comboPlotType:o,values:f,dataType:p,range:[0,300],innerPadding:s,outerPadding:u});return y7({orientation:l.X,vizType:h,comboPlotType:o,scale:e,dataType:p,getValue:e=>e[n]})},[s,u,h,o,n,p,f]),C=(0,O.useMemo)(()=>y9({scale:m,dataType:p}),[m,p]),v=yK(m)&&dL(p),j="bandwidth"in m;return{xScale:m,xStackScale:y,getXPosition:x,getXAxisPosition:C,getNonResponsiveXPosition:b,hasPositiveAndNegativeXValues:v,xType:p,xValues:g,isBandScale:j,get xBandwidth(){return j?m.bandwidth():null},get xStep(){return j?m.step():null},get xBandOuterPadding(){return j?m.paddingOuter():null}}})(Object.assign(Object.assign({data:i,x:d,xStackLower:y,xStackUpper:x,comboPlotType:A,plotMainSize:w},S),{xGoalValue:a,yGoalValue:s})),L=(0,O.useMemo)(()=>(e=>{let{xScale:t,xBandwidth:n,xType:r,plotMainSize:i}=e,o=((e,t,n)=>{if(null!==t){let r=e.domain().length>=1?e.domain()[0]:void 0,i=r&&null!==t?e(r):void 0;if(void 0!==i)return[i,n-i-(null!=t?t:0)]}return[0,n]})(t,n,i),l=((e,t)=>{if(!dS(t)||e.domain().length<1)return null;let n=e.domain().map(m$).filter(cD).map(gG),r=n[0],i=n[n.length-1];return r&&i?[r,i]:null})(t,r),a=l?(0,X.A)().domain(l).range(o):(0,X.A)();return{timeseriesBarScale:a,getTimeseriesBarAxisPosition:e=>null===e?null:a(gG(e))+(null!=n?n:0)/2}})({xScale:P.xScale,xBandwidth:P.xBandwidth,xType:P.xType,plotMainSize:w}),[w,P.xBandwidth,P.xScale,P.xType]),M=(0,O.useMemo)(()=>(e=>{let{vizType:t,xType:n,xValues:r}=e;try{let e=r.filter(cD).map(gG);return kG.includes(t)&&dS(n)&&n!==h4.WeeklyDateRange&&n!==h4.WeeklyDateRangeWithYear&&(e=>{if(e.length<2)return!0;let t=kW(e[0],e[1]);if(!t)return!1;for(let n=1;n(e=>{let t,{vizType:n,comboPlotType:r,data:i,x:o,y:l,group:a,shouldStartFromZero:s,customStartFrom:u,customEndAt:c,yGoalValue:d,comboPlotAxisCount:p}=e,h="number"==typeof u?"custom":s?"zero":"auto";if(m_(a)){if(void 0!==o&&yP.includes(n))return yL({vizType:n,data:i,x:o,y:l,group:a,yGoalValue:d,customEndAt:c});if("combo"===n){if("grouped-bars"===r||"lines"===r)return(e=>{var t,n;let{data:r,y:i,group:o,startFrom:l,customStartFrom:a,customEndAt:s,comboPlotAxisCount:u,yGoalValue:c}=e,{primaryDomainKeys:d}=yS(m1({data:r,group:o}),u),p=[...r].filter(e=>d.includes(mJ(e[o[0].variableKey]))).map(e=>e[i]).filter(cD).map(gY);yk(c)&&(p=[...p,c]);let h=[null!=(t=(0,es.A)(p))?t:0,null!=(n=(0,ea.A)(p))?n:0],g=null!=s?s:h[1];return"zero"===l?[Math.min(0,h[0]),Math.max(0,g)]:"custom"===l&&"number"==typeof a?[Math.min(h[0],a),Math.max(g,a)]:h})({data:i,y:l,group:a,comboPlotAxisCount:p,customStartFrom:u,customEndAt:c,startFrom:"grouped-bars"===r||"zero"===h&&"lines"===r?"zero":h,yGoalValue:d});if(void 0!==o&&"stacked-bars"===r){let{secondaryGeomKey:e}=yS(m1({data:i,group:a}),p);return yL({vizType:n,data:i,x:o,y:l,group:a,yGoalValue:d,secondaryGeomKey:e,comboPlotAxisCount:p})}}}return"heatmap"===n?(t=i.getValues(l),(0,eu.A)(t,mJ)):"waterfall"===n?(e=>{let{data:t,y:n,startFrom:r,customStartFrom:i,customEndAt:o}=e,l=t.getValues(n).filter(cD).map(gY).slice(0,-1),a=0,s=1/0,u=-1/0;for(let e of l)(a+=e)>u&&(u=a),a{let{data:t,y:n,vizType:r,startFrom:i,customStartFrom:o,customEndAt:l,yGoalValue:a}=e,s=t.getValues(n);yk(a)&&(s=[...s,a]);let u=(0,el.A)(s.filter(cD),gY),c=void 0===u[0]&&void 0===u[1]?[0,0]:u,d=null!=l?l:c[1],p=null!=o?o:c[0];return[...cJ,...cq].includes(r)||"zero"===i?[Math.min(0,p),Math.max(0,d)]:[p,d]})({data:i,y:l,vizType:n,startFrom:h,customStartFrom:u,customEndAt:c,yGoalValue:d})})({vizType:t,comboPlotType:A,data:i,x:d,y:p,group:m,shouldStartFromZero:null==o?void 0:o.shouldStartFromZero,customStartFrom:null==o?void 0:o.customYAxisStartFrom,customEndAt:null==o?void 0:o.customYAxisEndAt,comboPlotAxisCount:null==o?void 0:o.comboPlotAxisCount,yGoalValue:s}),[t,A,i,d,p,m,null==o?void 0:o.shouldStartFromZero,null==o?void 0:o.customYAxisStartFrom,null==o?void 0:o.customYAxisEndAt,null==o?void 0:o.comboPlotAxisCount,s]),I=(e=>{let{flipAxes:t,y:n,yStackLower:r,yStackUpper:i,yValue:o,data:a,plotCrossSize:s,domain:u,useLogScale:c,customStartFrom:d,customEndAt:p}=e,h=gh(e=>e.computedConfig.type),g=gh(e=>e.computedConfig.comboPlotType),f=a.getType(n),m=(0,O.useMemo)(()=>y1({vizType:h,orientation:l.Y,comboPlotType:g,dataType:f,customDomain:u,customStartFrom:d,customEndAt:p,range:xu(h,s,t),useLogScale:c}),[p,d,u,t,s,g,c,f,h]),y=(0,O.useMemo)(()=>y$({data:a,dimensionSize:s,lowerKey:r,upperKey:i}),[a,s,r,i]),x=(0,O.useMemo)(()=>y7({orientation:l.Y,comboPlotType:g,vizType:h,scale:m,dataType:f,getValue:e=>e[n]}),[g,h,n,m,f]),b=(0,O.useMemo)(()=>{let e=y1({vizType:h,orientation:l.Y,comboPlotType:g,dataType:f,customDomain:u,customStartFrom:d,customEndAt:p,range:xu(h,300,t),useLogScale:c});return y7({orientation:l.Y,comboPlotType:g,vizType:h,scale:e,dataType:f,getValue:e=>e[n]})},[p,d,u,t,g,c,n,f,h]),C="ticks"in m?m(0):null,v=(0,O.useMemo)(()=>y9({scale:m,dataType:f}),[m,f]),j=yK(m),A=(0,O.useMemo)(()=>y7({orientation:l.Y,comboPlotType:g,vizType:h,scale:m,dataType:f,getValue:e=>{if(!o||!n)return 0;let t=e[o],r=e[n];return"number"==typeof t&&"number"==typeof r&&t!==r?r-t:gY(m.domain()[0])}}),[g,h,n,m,f,o]),w=(0,O.useMemo)(()=>a.exists(xt)?y7({orientation:l.Y,vizType:h,comboPlotType:g,scale:m,dataType:a.getType(xt),getValue:e=>e[xt]}):x,[a,x,g,h,m]),k=(0,O.useMemo)(()=>a.exists(xn)?y7({orientation:l.Y,vizType:h,comboPlotType:g,scale:m,dataType:a.getType(xn),getValue:e=>e[xn]}):x,[a,x,g,h,m]);return{yScale:m,yStackScale:y,getYPosition:x,yOrigin:C,getLowerYPosition:A,getYAxisPosition:v,getNonResponsiveYPosition:b,hasPositiveAndNegativeYValues:j,get yBandwidth(){return"heatmap"===h&&dw(f)?m.bandwidth():null},getYStartPosition:w,getYEndPosition:k}})({flipAxes:null!=c&&c,y:p,yValue:f,yStackLower:b,yStackUpper:C,data:i,plotCrossSize:k,domain:D,useLogScale:null==o?void 0:o.useLogScale,customStartFrom:null==o?void 0:o.customYAxisStartFrom,customEndAt:null==o?void 0:o.customYAxisEndAt}),E=(e=>{let{property:t,data:n}=e;return(0,O.useMemo)(()=>{let e=((e,t)=>t?[...new Set(e.getValues(t))]:[])(n,t),r=(e=>{let{values:t=[],range:n}=e,r=(e=>{let t=(0,el.A)(e.filter(cD),gY);return void 0===t[0]||void 0===t[1]?[0,0]:t})(t);return(0,N.A)().domain(r).range(n)})({values:e,range:[0,1]});return{sizeScale:r,sizeValues:e,getSize:e=>{let n=t?e[t]:null;return r(null===n?0:gY(n))}}},[t,n])})({property:h,data:i}),H=(0,O.useMemo)(()=>(e=>{let{data:t,y:n,group:r,comboPlotType:i,hasSecondaryAxis:o,shouldStartFromZero:l,customStartFrom:a,customEndAt:s,yGoalValue:u,comboPlotAxisCount:c}=e;if(!o||!m_(r))return[0,0];let d="number"==typeof a?"custom":l?"zero":"auto";return(e=>{var t,n;let{data:r,y:i,group:o,startFrom:l,customStartFrom:a,customEndAt:s,yGoalValue:u,comboPlotAxisCount:c}=e,{secondaryDomainKey:d}=yS(m1({data:r,group:o}),c);if(!d)return[0,0];let p=[...r].filter(e=>mJ(e[o[0].variableKey])===d).map(e=>e[i]).filter(cD).map(gY);yk(u)&&(p=[...p,gY(u)]);let h=[null!=(t=(0,es.A)(p))?t:0,null!=(n=(0,ea.A)(p))?n:0],g=null!=s?s:h[1];return"zero"===l?[Math.min(0,h[0]),Math.max(0,g)]:"custom"===l&&"number"==typeof a?[Math.min(h[0],a),Math.max(g,a)]:h})({data:t,y:n,group:r,startFrom:"lines"===i&&"zero"===d||"lines"!==i?"zero":d,customStartFrom:a,customEndAt:s,yGoalValue:u,comboPlotAxisCount:c})})({data:i,y:p,group:m,comboPlotType:A,hasSecondaryAxis:T,shouldStartFromZero:null==o?void 0:o.shouldStartFromZero,customStartFrom:null==o?void 0:o.customYAxisStartFrom,customEndAt:null==o?void 0:o.customYAxisEndAt,comboPlotAxisCount:null==o?void 0:o.comboPlotAxisCount,yGoalValue:s}),[i,m,A,T,null==o?void 0:o.comboPlotAxisCount,null==o?void 0:o.customYAxisEndAt,null==o?void 0:o.customYAxisStartFrom,null==o?void 0:o.shouldStartFromZero,p,s]),V=(e=>{let{flipAxes:t,vizType:n,comboPlotType:r,y:i,data:o,plotCrossSize:a,domain:s,useLogScale:u}=e,c=i?o.getType(i):h4.Decimal,d=(0,O.useMemo)(()=>y1({vizType:n,orientation:l.Y,comboPlotType:r,dataType:c,range:xu(n,a,t),customDomain:s,useLogScale:u}),[s,t,a,r,u,c,n]),p=(0,O.useMemo)(()=>y7({orientation:l.Y,vizType:n,comboPlotType:r,scale:d,dataType:c,getValue:e=>e[i]}),[r,d,i,c,n]),h=(0,O.useMemo)(()=>y9({scale:d,dataType:c}),[d,c]);return{secondaryYScale:d,getSecondaryYPosition:p,getSecondaryYAxisPosition:h,getNonResponsiveSecondaryYAxisPosition:(0,O.useMemo)(()=>{let e=y1({orientation:l.Y,comboPlotType:r,vizType:n,dataType:c,range:xu(n,300,t),customDomain:s,useLogScale:u});return y7({orientation:l.Y,vizType:n,comboPlotType:r,scale:e,dataType:c,getValue:e=>e[i]})},[s,t,r,n,u,i,c])}})({flipAxes:null!=c&&c,vizType:t,y:p,data:i,comboPlotType:A,plotCrossSize:k,domain:H,useLogScale:null==o?void 0:o.useLogScale}),{_setXValues:F,_setYDomain:B,_setSecondaryYDomain:R}=kB();(0,O.useEffect)(()=>{F(P.xValues.map(m$))},[F,P.xValues]),(0,O.useEffect)(()=>{B(D)},[B,D]),(0,O.useEffect)(()=>{R(H)},[R,H]);let z=(0,O.useMemo)(()=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({flipAxes:null!=c&&c},P),L),{isTimeseriesBarAxis:M,hasSecondaryAxis:T}),I),V),E),{options:o}),[c,P,L,M,T,I,V,E,o]);return(0,g.jsx)(kE.Provider,{value:z,children:n})},kN=(0,h.I4)(eh.P.div)(i2()),kK=h.I4.div(i7(),e=>{let{$isRotated:t}=e;return t?(0,h.AH)(i5()):(0,h.AH)(i3())}),kZ=hh(.4),kX=hh(.3),k_=h.I4.div(i4(),a0,s7("textPrimary"),e=>{let{$isDimmed:t}=e;return t?.5:1},e=>{let{$isFilled:t}=e;return t&&(0,h.AH)(i9(),ss.sm,kZ,kX)}),kQ=e=>{let{isFilled:t,isDimmed:n,textColor:r,backgroundColor:i,children:o}=e;return(0,g.jsx)(k_,{$isFilled:t,$isDimmed:n,style:{color:r,backgroundColor:i},children:o})},kJ=O.memo(function(e){let{isFilled:t,textColor:n,backgroundColor:r,isDimmed:i,formattedLabel:o,fits:l,isRotated:a,xPosition:s,yPosition:u}=e,{flipAxes:c}=kH();return l?(0,g.jsx)(kN,{initial:!1,animate:{[c?"y":"x"]:s,[c?"x":"y"]:u},transition:fA,children:(0,g.jsx)(kK,{$isRotated:a,children:(0,g.jsx)(kQ,{isFilled:null!=t&&t,textColor:n,backgroundColor:r,isDimmed:i,children:o.rich})})}):null}),kq=(0,h.I4)(eh.P.div)(i6()),k$=mI[0],k1="solid",k0="diagonal-hatch-pattern",k2=()=>{let{values:e}=fN();return(0,g.jsx)("pattern",{id:k0,patternUnits:"userSpaceOnUse",patternTransform:"rotate(-45)",width:"20",height:"10",x:"0",y:"0",children:(0,g.jsx)("rect",{x:"0",y:"0",width:"20",height:"5",fill:e.grey100,fillOpacity:.5})})},k5=()=>"url(#".concat(k0,")"),k3=e=>{let{flipAxes:t,bandwidth:n,position:r,start:i,end:o,opacity:l,fill:a=k$,fillType:s=k1,roundCorners:u=!0,isDimmed:c=!1,backgroundColor:d}=e,{highlightStyle:p,dimAmount:h}=yn(),f=k7(t,n,r,i,o),m=yz({theme:fN(),fill:a,opacity:l,isDimmed:c,highlightStyle:p,backgroundColor:d,dimAmount:h}),y="number"==typeof u?u:u?yB(n):0;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(eh.P.rect,{initial:!1,animate:f,transition:fA,fill:m,rx:y,role:"graphics-symbol img","aria-roledescription":"bar","aria-label":"Bar"}),"hatched"===s&&(0,g.jsx)(eh.P.rect,{initial:!1,animate:f,transition:fA,fill:k5(),rx:y})]})},k7=(e,t,n,r,i)=>({[e?"y":"x"]:n,[e?"x":"y"]:Math.min(i,r),[e?"height":"width"]:Math.max(t,0),[e?"width":"height"]:Math.max(Math.abs(r-i),0)}),k9=e=>{var{shapeId:t,blur:n}=e,r=sk(e,["shapeId","blur"]);let i="neon-blur-".concat((0,O.useId)()),o="url(#".concat(i,")");return(0,g.jsxs)(g.Fragment,{children:[k6(i,n),(0,g.jsx)("use",Object.assign({href:"#".concat(t),filter:o},r))]})},k4=e=>{let{blur:t}=e,n="neon-blur-".concat((0,O.useId)());return{neonFilter:"url(#".concat(n,")"),renderDefs:()=>k6(n,t)}},k6=(e,t)=>(0,g.jsx)("defs",{children:(0,g.jsxs)("filter",{id:e,colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,g.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,g.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:t})]})}),k8=e=>{var{flipAxes:t,mainPosition:n,crossPosition:r,size:i,fill:o,stroke:l,strokeWidth:a,hasShadow:s,effect:u,opacity:c,includeOuterBorder:d,backgroundColor:p}=e,h=sk(e,["flipAxes","mainPosition","crossPosition","size","fill","stroke","strokeWidth","hasShadow","effect","opacity","includeOuterBorder","backgroundColor"]);let f=Se(t,n,r,i),m=s?St():{},y=(0,O.useId)();return(0,g.jsxs)(g.Fragment,{children:["neon"===u&&(0,g.jsx)(k9,{shapeId:y,blur:2}),d&&(0,g.jsx)(eh.P.circle,{id:y,initial:!1,transition:fA,variants:{animate:Object.assign(Object.assign({},f),{stroke:p,fill:o,opacity:c,r:f.r+1.5})},animate:"animate",strokeWidth:1.5}),(0,g.jsx)(eh.P.circle,Object.assign({id:y,strokeWidth:a,initial:!1,transition:fA,variants:{animate:Object.assign(Object.assign({},f),{stroke:l,fill:o,opacity:c})},animate:"animate",style:m},h))]})},Se=(e,t,n,r)=>({cx:e?n:t,cy:e?t:n,r:r/2}),St=()=>({filter:"\n drop-shadow(0 0 4px rgba(15, 15, 24, 0.12))\n drop-shadow(0 4px 4px rgba(14, 14, 52, 0.08))\n "}),Sn=e=>{var{observations:t,lineGenerator:n,color:r,clipPath:i,lineType:o="solid",isDimmed:l,effect:a,backgroundColor:s,lineThickness:u,showPoints:c,yAxisScale:d="primary"}=e,p=sk(e,["observations","lineGenerator","color","clipPath","lineType","isDimmed","effect","backgroundColor","lineThickness","showPoints","yAxisScale"]);let{getXPosition:h,xBandwidth:f,getYPosition:m,getSecondaryYPosition:y}=kH(),x=xw("plotWidth"),b=fY("textScale"),C=(0,O.useMemo)(()=>n(t),[n,t]),v=yA(null!=C?C:"M0,0",fA),{neonFilter:j,renderDefs:A}=k4({blur:3}),{isPointHighlighted:w}=yn(),k=So({color:r,isDimmed:l,backgroundColor:s}),S=Sl({color:r,backgroundColor:s});if(!C)return null;let P=null!=u?u:Sr(b,x,t),L=yW(P,o),M="primary"===d?m:y,T=Object.assign(Object.assign({stroke:k},L),{d:v,clipPath:i,fill:"none"});return(0,g.jsxs)(g.Fragment,{children:["neon"===a&&A(),"neon"===a&&(0,g.jsx)(eh.P.path,Object.assign({},T,{strokeWidth:2*P,filter:j})),(0,g.jsx)(eh.P.path,Object.assign({},p,T)),t.map((e,t)=>{let n=w(e);if(!c&&!n)return null;let r=h(e)+(null!=f?f:0)/2,i=M(e),o=Si(P,n),s=l&&!w(e);return(0,g.jsx)(k8,{strokeWidth:.5*P,effect:a,hasShadow:n,mainPosition:r,crossPosition:i,size:o,fill:s?S.dimmedFill:S.defaultFill,stroke:s?S.dimmedStroke:S.defaultStroke},"".concat(t,"-").concat(k))})]})},Sr=(e,t,n)=>n.length?2.5*Math.max(.4,Math.min(1,t/n.length/10))*e:1,Si=(e,t)=>Math.max(3,e*(t?3:2)),So=e=>{let t=fN(),{highlightStyle:n,dimAmount:r}=yn(),{color:i=k$,isDimmed:o,backgroundColor:l}=e;return yU({theme:t,color:i,isDimmed:o,highlightStyle:n,backgroundColor:l,dimAmount:r})},Sl=e=>{let t=fN(),{highlightStyle:n}=yn(),{color:r=k$,backgroundColor:i}=e,o=yU({theme:t,color:r,isDimmed:!1,highlightStyle:n,backgroundColor:i}),l=ex.Ay.mix(t.values.grey0,o,.6).hex(),a=yU({theme:t,color:r,isDimmed:!0,highlightStyle:n,backgroundColor:i});return{defaultFill:o,defaultStroke:l,dimmedFill:a,dimmedStroke:ex.Ay.mix(t.values.grey0,a,.6).hex()}},Sa={solid:{strokeWidth:1},dashed:{strokeWidth:1,strokeDasharray:"4 4"},gridLine:{strokeWidth:1,strokeDashoffset:"0",strokeDasharray:"2 3",strokeLinecap:"round"},tickLine:{strokeWidth:1,strokeDashoffset:"-1",strokeDasharray:"2 3",strokeLinecap:"round"},targetLine:{strokeWidth:1,strokeDasharray:"2 3",strokeLinecap:"round",strokeMiterlimit:16}},Ss=e=>{let{orientation:t,origin:n,end:r,crossOrigin:i,stroke:o,ruleStyle:a="solid"}=e,s=Object.assign({stroke:o,pointerEvents:"none",fill:"transparent"},Sa[a]);return t===l.X?(0,g.jsx)("line",Object.assign({},s,{x1:n||0,y1:i,x2:r,y2:i})):(0,g.jsx)("line",Object.assign({},s,{x1:i,y1:n||0,x2:i,y2:r}))},Su=e=>{let{observations:t,areaGenerator:n,color:r=k$,clipPath:i,flipAxes:o,variant:l="solid",isDimmed:a}=e,s="area_gradient_".concat((0,O.useId)()),u=n(t),c=yA(null!=u?u:"M0,0",fA);if(!u)return null;let d="solid"===l?r:"url(#".concat(s,")");return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("defs",{children:(0,g.jsxs)("linearGradient",{id:s,gradientTransform:"rotate(".concat(o?180:90," 0.5 0.5)"),children:[(0,g.jsx)("stop",{offset:"0%",stopColor:r}),(0,g.jsx)("stop",{offset:"70%",stopColor:r,stopOpacity:0}),(0,g.jsx)("stop",{offset:"100%",stopColor:r,stopOpacity:0})]})}),(0,g.jsx)(eh.P.g,{clipPath:i,children:(0,g.jsx)(eh.P.path,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.1}},exit:{opacity:0},d:c,stroke:"none",fill:d,fillOpacity:a?"solid"===l?.1:.04:"solid"===l?.3:.15,role:"graphics-symbol img","aria-roledescription":"area"})})]})},Sc=(0,O.createContext)(null),Sd=()=>{let e=(0,O.useContext)(Sc);if(!e)throw Error("useVisibleSeriesContext must be used within a VisibleSeriesProvider");return e},Sp=e=>{let{data:t,group:n,label:r,vizType:i,children:o}=e,[l,a]=(0,O.useState)([]),s=(0,O.useCallback)(e=>{e&&a(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},[]),u=(0,O.useMemo)(()=>[...t].filter(e=>{var t;let o="pie"===i?r:null==(t=null==n?void 0:n[0])?void 0:t.variableKey;if(!o)return!0;let a=mJ(e[o]);return!l.includes(a)}),[t,i,r,n,l]),c=(0,O.useCallback)(e=>!!e&&l.includes(e),[l]),d=(0,O.useMemo)(()=>({onToggleSeriesVisibility:s,visibleObservations:u,isHiddenSeries:c}),[s,u,c]);return(0,g.jsx)(Sc.Provider,{value:d,children:o})},Sh=h.I4.div(i8(),a9),Sg=e=>{var{children:t,maxWidth:n}=e,r=sk(e,["children","maxWidth"]);return(0,g.jsx)(Sh,Object.assign({},r,{style:Object.assign(Object.assign({},r.style),{maxWidth:"".concat(n,"px")}),children:t}))},Sf=e=>{let{label:t,startValue:n,plotMaxWidth:r,plotMaxHeight:i,radius:o,total:l,maxCx:a,maxCy:s,previousLabels:u}=e,c=n+t.value/2,d=hp(c/l,o,a,s),{originX:p,originY:h}=(e=>({originX:e<.5?0:1,originY:+(e>.75||e<.25)}))(c/l),g=d.x-t.width*p,f=d.y-t.height*h;for(let e of u){let n=e.x,r=e.y,i=e.width,o=e.height;if(gn&&fr)return null}if(g<0||f<0)return Math.abs(Math.min(g,f));let m=g+t.width-r,y=f+t.height-i;return m>0||y>0?Math.abs(Math.max(m,y)):Object.assign(Object.assign({},t),{x:g,y:f})},Sm=e=>{let{radius:t,total:n,labels:r,plotMaxWidth:i,plotMaxHeight:o,maxCx:l,maxCy:a}=e,s=[],u=0,c=0;for(let e of r){let r=Sf({previousLabels:s,startValue:u,label:e,plotMaxWidth:i,plotMaxHeight:o,radius:t,total:n,maxCx:l,maxCy:a});u+=e.value,"number"==typeof r?c=Math.max(r,c):null!==r&&s.push(r)}return c>0?c:s},Sy=gu(null),Sx=e=>{let{children:t,legendPosition:n,sideLegendWidth:r=0,shouldShowLabels:i,formatDataLabel:o,value:l,label:a}=e,s=fY("chartWidth"),u=fY("chartHeight"),c=8*!!i,d=yu(),p=s-r-32*("right"===n)/2,h=.3*p,{visibleObservations:f}=Sd(),m=(0,O.useMemo)(()=>i?(e=>{let{observations:t,measureReactContent:n,labelMaxWidth:r,formatDataLabel:i,value:o,label:l}=e;return t.reduce((e,t)=>{var a;try{let s=gz(null!=(a=t.id)?a:""),u=t[o],c=l?t[l]:void 0;if(null==u||void 0===c)return e;let d=gY(u),p=i(d,c),{width:h,height:f}=n((0,g.jsx)(Sg,{maxWidth:r,children:p.rich}));e.push({id:s,formatted:p,width:h,height:f,value:d})}catch(e){}return e},[])})({observations:f,measureReactContent:d,labelMaxWidth:h,value:l,label:a,formatDataLabel:o}):[],[i,f,d,h,l,a,o]),{labels:y,labelRadius:x}=(0,O.useMemo)(()=>(e=>{let{labels:t,plotMaxWidth:n,plotMaxHeight:r}=e,i=Math.min(n,r)/2,o=t.reduce((e,t)=>e+t.value,0),l=n/2,a=r/2,s=i,u=0,c=0;for(;"number"==typeof c&&u<100;)"number"==typeof(c=Sm({radius:s,total:o,labels:t,plotMaxWidth:n,plotMaxHeight:r,maxCx:l,maxCy:a}))&&(s-=c),u++;return{labelRadius:"number"==typeof c?i:s,labels:"number"==typeof c?[]:c}})({labels:m,plotMaxWidth:p,plotMaxHeight:u}),[m,p,u]),b=x-c,C=(0,O.useMemo)(()=>(e=>{let{labels:t,pieRadius:n,plotMaxWidth:r,plotMaxHeight:i}=e,o=r/2-n,l=i/2-n,a=Math.min(o,...t.map(e=>e.x)),s=Math.max(o+2*n,...t.map(e=>e.x+e.width)),u=Math.min(l,...t.map(e=>e.y));return{isPlotMeasured:!0,plotOffsetX:a,plotOffsetY:u,plotWidth:s-a,plotHeight:Math.max(l+2*n,...t.map(e=>e.y+e.height))-u}})({labels:y,pieRadius:b,plotMaxWidth:p,plotMaxHeight:u}),[y,b,u,p]),v=p/2-C.plotOffsetX,j=u/2-C.plotOffsetY,A=O.useMemo(()=>({pieRadius:b,pieCenterX:v,pieCenterY:j,labels:y,labelMaxWidth:h}),[b,v,j,y,h]);return(0,g.jsx)(Sy.Provider,{value:A,children:(0,g.jsx)(xA.Provider,{value:C,children:t})})},Sb=e=>gc(Sy,t=>{if(!t)throw Error("usePieLayoutValue must be used within PieLayoutProvider");return t[e]}),SC=(e,t)=>"donut"===t?.5*e:0,Sv=(e,t)=>n=>e*(1-n)+t*n,Sj=e=>{let{arc:t,appearance:n,fillColor:r="transparent",isDimmed:i,fillType:o=k1,backgroundColor:l}=e,a=fN(),s=(0,O.useId)(),u=((e,t)=>{let n=(0,ed.d)(0);(0,O.useEffect)(()=>{let e=(0,ep.i)(0,1,Object.assign(Object.assign({},fk),{onUpdate:e=>n.set(e)}));return()=>e.stop()},[n]);let r=(0,ed.d)(e.startAngle),i=(0,ed.d)(e.endAngle);(0,O.useEffect)(()=>{let t=Sv(r.get(),e.startAngle),n=Sv(i.get(),e.endAngle),o=(0,ep.i)(0,1,Object.assign(Object.assign({},fA),{onUpdate:e=>{r.set(t(e)),i.set(n(e))}}));return()=>o.stop()},[e,i,r]);let o=(e=>{let t=Sb("pieRadius"),n=SC(t,e);return(0,$.A)().innerRadius(n).outerRadius(t).cornerRadius(.02*t)})(t),l=(0,eg.G)([n,r,i],t=>{let[n,r,i]=t;return o(Object.assign(Object.assign({},e),{startAngle:r*n,endAngle:i*n}))});return(0,ef.K)()?o(e):l})(t,n),c=Sb("pieRadius"),d=((e,t,n)=>{let{isInHighlightMode:r}=xG(),i=xD(Math.abs((t+e)/2)),o=.03*n*Math.cos(i),l=.03*n*Math.sin(i),a=(()=>{let{overlayState:{activeHitbox:e}}=m2();if(!e)return[];let{dataPoints:t}=e;return t.filter(m4)})(),s=!r&&a.some(n=>n.startAngle===e&&n.endAngle===t),u=s?o:0,c=s?l:0;return{initial:{x:u,y:c},animate:{x:u,y:c},transition:fA}})(t.startAngle,t.endAngle,c),{highlightStyle:p,dimAmount:h}=yn(),f=yU({theme:a,color:r,isDimmed:i,backgroundColor:l,highlightStyle:p,dimAmount:h});return(0,g.jsxs)(eh.P.g,Object.assign({},d,{children:[(0,g.jsx)("defs",{children:(0,g.jsx)("mask",{id:s,children:(0,g.jsx)(eh.P.path,{d:u,fill:"white",strokeWidth:3,stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,g.jsx)(eh.P.path,{d:u,fill:f,mask:"url(#".concat(s,")"),role:"graphics-symbol img","aria-roledescription":"pie slice","aria-label":"Pie slice"}),"hatched"===o&&(0,g.jsx)(eh.P.path,{d:u,fill:k5()})]}))},SA=()=>{let{sizeValues:e}=kH(),t=fY("chartWidth");return(0,O.useMemo)(()=>{let n=Math.max(.01*t,5),r=Math.min(.07*t,80),{adjustedMin:i,adjustedMax:o}=((e,t,n)=>{if(e<=1){let e=(t+n)/2;return{adjustedMin:e,adjustedMax:e}}return{adjustedMin:t,adjustedMax:n-n*(e=>e<=3?.6:.3*(e<=6))(e)}})(e.length,n,r);return{maxSize:o,minSize:i,computeBubbleSize:e=>i+e*(o-i)}},[t,e])},Sw=(e,t,n,r)=>t/2+kZ+Math.min(0,(("inside"===e?n:r)-t-2*kZ)/2),Sk={initial:{opacity:0},animate:{opacity:1},transition:{type:"spring",bounce:0,duration:.4,delay:.3}},SS=e=>{let{isEditable:t,isDefaultVisible:n,vizType:r,annotations:i,getDataPointId:o,showPercentage:l=!1,formatLabel:a,numberFormat:s}=e,u=fY("portalId"),c=xw("plotOffsetX"),d=xw("plotOffsetY"),{flipAxes:p}=kH(),h=(e=>{let{isEditable:t,isDefaultVisible:n,vizType:r,annotations:i,getDataPointId:o,formatLabel:l,shouldShowPercentage:a,numberFormat:s}=e,{hitboxes:u,overlayState:{closestGeomDataPoint:c}}=m2(),{flipAxes:d}=kH(),{isBarHighlighted:p,isHighlighted:h,isPointHighlighted:f,isStackHighlighted:m}=yn(),y=(0,O.useMemo)(()=>u.flatMap(e=>e.dataPoints),[u]),x=(e=>{let{formatLabel:t=sQ,shouldShowPercentage:n,numberFormat:r}=e,i=(0,Y.A)(),o=(0,O.useCallback)(e=>{let t=fi({intl:i,value:e,numberFormat:r});return{rich:t,plain:t}},[i,r]);return(0,O.useCallback)(e=>{let r=null;return n?r=e.percentage:m9(e)?r=m7(e)?e.alphaValue:e.yValue:m4(e)&&(r=e.pieValue),n?o(r,e):t(r,e)},[t,o,n])})({formatLabel:l,shouldShowPercentage:a,numberFormat:s}),b=(()=>{let{flipAxes:e,getSize:t}=kH(),{computeBubbleSize:n}=SA(),r=gh(e=>e.computedConfig.type),i=xw("plotWidth"),o=xw("plotHeight"),l=e?i:o;return(0,O.useCallback)(i=>{let{dataPoint:o,measured:a,shouldRotate:s}=i,u={fits:!0,location:null,isRotated:!1,xPosition:0,yPosition:0};switch(o.type){case"bar":return Object.assign(Object.assign({},u),((e,t,n,r,i,o)=>{let l=yD(e.yValue),{availMainSize:a,availCrossSizeInside:s,availCrossSizeOutside:u}=((e,t,n,r)=>{let i=Math.abs(e.x0-e.x1),o=Math.abs(e.y0-e.y1);return{availMainSize:t?o:i,availCrossSizeInside:t?i:o,availCrossSizeOutside:t?n?r-e.x0:e.x1:n?e.y0:r-e.y1}})(e,r,l,i),c=r?t.height:t.width,d=r?t.width:t.height;return!n&&c<=a?d<=s?"waterfall"===o?(e=>({fits:!0,location:"inside",xPosition:e.xPosition,yPosition:e.yPosition}))(e):((e,t,n,r,i,o)=>{if("none"!==e.stackType)return{fits:!0,location:"inside",xPosition:e.x0+(e.x1-e.x0)/2,yPosition:e.y0+(e.y1-e.y0)/2};let l=Sw("inside",n,r,i);return{fits:!0,location:"inside",xPosition:t?e.xPosition+l*(o?-1:1):e.xPosition,yPosition:t?e.yPosition:e.yPosition+l*(o?1:-1)}})(e,r,d,s,u,l):"none"===e.stackType&&d<=u?"waterfall"===o?((e,t,n,r)=>({fits:!0,location:"outside",xPosition:e.xPosition,yPosition:e.yPosition-n/2-Sw("outside",t,n,r)}))(e,d,s,u):((e,t,n,r,i,o)=>{let l=t?e.xPosition:e.x0+(e.x1-e.x0)/2,a=e.yPosition,s=Sw("outside",n,r,i);return t?l+=s*(o?1:-1):a+=s*(o?-1:1),{fits:!0,location:"outside",xPosition:l,yPosition:a}})(e,r,d,s,u,l):{fits:!1}:!n||r||"waterfall"===o?{fits:!1}:c<=s?((e,t,n,r,i,o)=>{if(i>t)return{fits:!1};if("none"!==e.stackType)return{isRotated:!0,fits:!0,location:"inside",xPosition:e.x0+(e.x1-e.x0)/2,yPosition:e.y0+(e.y1-e.y0)/2-r/2};let l=Math.min(4,(n-i)/2-2*kX);return{isRotated:!0,fits:!0,location:"inside",xPosition:e.xPosition,yPosition:e.yPosition-r/2+kX+(r/2+l)*(o?1:-1)}})(e,a,s,c,d,l):"none"===e.stackType&&c<=u?((e,t,n,r,i)=>r>t?{fits:!1}:{isRotated:!0,fits:!0,location:"outside",xPosition:e.xPosition,yPosition:e.yPosition-n/2-kX+n/2*(i?-1:1)})(e,a,c,d,l):{fits:!1}})(o,a,s,e,l,r));case"line":return Object.assign(Object.assign({},u),(e=>({xPosition:e.xPosition,yPosition:e.yPosition-15}))(o));case"tile":return Object.assign(Object.assign({},u),((e,t)=>{let n=Math.abs(e.x0-e.x1),r=Math.abs(e.y0-e.y1);return t.width<=n&&t.height<=r?{xPosition:e.xPosition,yPosition:e.yPosition}:{fits:!1}})(o,a));case"pie":case"donut":return Object.assign(Object.assign({},u),((e,t)=>{let n=xI({position:.5,radius:"donut"===e.type?e.pieRadius-SC(e.pieRadius,"donut")/2:2*e.pieRadius/3,startAngle:e.startAngle,endAngle:e.endAngle});return(e=>{let{x1:t,x2:n,y1:r,y2:i,startAngle:o,endAngle:l}=e,a=[t,i],s=[n,r],u=[n,i],c=e=>{let[t,n]=e,r=xT(Math.atan2(n,t));return r>=o&&r<=l};return c([t,r])&&c(a)&&c(s)&&c(u)})(Object.assign(Object.assign({},{x1:n.x-t.width/2,x2:n.x+t.width/2,y1:n.y-t.height/2,y2:n.y+t.height/2}),{startAngle:e.startAngle,endAngle:e.endAngle}))?{xPosition:e.pieCenterX+n.x,yPosition:e.pieCenterY+n.y}:{fits:!1}})(o,a));case"point":return Object.assign(Object.assign({},u),((e,t,n,r,i)=>{let o="bubble"===e?n(t(r.observation))/2+i.height/2:15;return{xPosition:r.xPosition,yPosition:r.yPosition-o}})(r,t,n,o,a))}},[e,l,r,t,n])})(),C=(()=>{let e=fN(),{isBarDimmed:t,isLineDimmed:n,highlightStyle:r,dimAmount:i}=yn(),o=(0,O.useCallback)((t,n)=>(e=>{let{theme:t,dataPoint:n,highlightStyle:r,isDimmed:i,dimAmount:o}=e,l=m3(n)?yz({theme:t,fill:n.vizColor,opacity:n.fillOpacity,isDimmed:i,dimAmount:o,highlightStyle:r}):n.vizColor,a=((e,t,n)=>{var r;let i;if(!m3(e)&&!m7(e)&&!m4(e))return"dark";try{i=ex.Ay.mix(t.values.grey100,(0,ex.Ay)(n),m4(e)?1:null!=(r=e.fillOpacity)?r:1)}catch(e){return"dark"}return ex.Ay.contrast(i,t.values.black)>ex.Ay.contrast(i,t.values.white)?"dark":"light"})(n,t,l),s="dark"===a?t.values.black:t.values.white;return{insideLabelBackgroundColor:l,outsideLabelBackgroundColor:s9(t.values.textPrimary,"dark"===a?.1:.3),readableTextColor:s}})({theme:e,dataPoint:t,highlightStyle:r,dimAmount:i,isDimmed:n}),[e,r,i]);return(0,O.useCallback)((r,i,l)=>{switch(r.type){case"bar":{let n=t(r.observation),a=o(r,n);return{backgroundColor:"outside"===i?a.outsideLabelBackgroundColor:a.insideLabelBackgroundColor,textColor:"outside"===i?e.values.textPrimary:a.readableTextColor,isFilled:"outside"===i||!l,isDimmed:n}}case"line":case"point":{let t=n(r.observation);return{backgroundColor:o(r,t).outsideLabelBackgroundColor,textColor:e.values.textPrimary,isFilled:!0,isDimmed:t}}case"tile":return{textColor:o(r,!1).readableTextColor,isDimmed:!1};case"pie":case"donut":{let e=o(r,!1);return{backgroundColor:e.insideLabelBackgroundColor,textColor:e.readableTextColor,isFilled:!0,isDimmed:!1}}}},[t,n,e,o])})(),v=yu();return(0,O.useMemo)(()=>{let e=y.filter(e=>(e=>{var t;let{isHovered:n,isEditable:r,isDefaultVisible:i,vizType:o,annotations:l,getDataPointId:a,dataPoint:s,isBarHighlighted:u,isStackHighlighted:c,isPointHighlighted:d,isHighlighted:p}=e,h=l.find(e=>!s$(e)&&sq(e)&&s.id===a(e)),g="tooltip"===(null==h?void 0:h.config.type)&&void 0===h.config.caption,f="tooltip"===(null==h?void 0:h.config.type)&&void 0!==h.config.caption,m="sticker"===(null==h?void 0:h.config.type),y=m3(s)&&u(s.observation),x=m3(s)&&c(s.observation),b=m5(s)&&d(s.observation),C=null!=(t=m6(s)&&p(s.observation))&&t;switch(o){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"funnel":case"mekko":return!!m3(s)&&!g&&!m&&("none"===s.stackType||!n||!r)&&(!!i||("stacked"===s.stackType?y&&!x:y));case"line":case"areaStacked":return(i||b)&&!g&&!f&&!m;case"combo":return!(m3(s)&&"none"!==s.stackType&&n&&r)&&(i||y||b)&&!g&&!f&&!m;case"heatmap":return(!n||!r)&&i&&!g;case"pie":case"donut":case"waterfall":return i&&!g;case"scatter":case"bubble":return(i||C)&&!g&&!f&&!m;default:return!1}})({isHovered:(null==c?void 0:c.id)===e.id,isEditable:t,isDefaultVisible:n,vizType:r,annotations:i,getDataPointId:o,dataPoint:e,isBarHighlighted:p,isHighlighted:h,isPointHighlighted:f,isStackHighlighted:m})).map(e=>{let t=x(e);return{dataPoint:e,formattedLabel:t,measured:v((0,g.jsx)(kQ,{isFilled:!0,children:t.rich}))}}),l=y[0]&&m3(y[0])?Math.abs(y[0].x0-y[0].x1):0,a=e.reduce((e,t)=>{let{measured:n}=t;return Math.max(e,n.width)},0)>l&&!d;return e.map(e=>{let{dataPoint:t,measured:n,formattedLabel:r}=e,{fits:i,isRotated:o,xPosition:l,yPosition:s,location:u}=b({dataPoint:t,measured:n,shouldRotate:a});return{dataPoint:t,formattedLabel:r,appearance:C(t,u,o),fits:i,isRotated:o,xPosition:d?s:l,yPosition:d?l:s}})},[c,y,d,n,t,r,i,o,p,h,f,m,x,v,b,C])})({vizType:r,annotations:i,getDataPointId:o,formatLabel:a,shouldShowPercentage:l,isDefaultVisible:n,isEditable:t,numberFormat:s});return(0,g.jsx)(f_,{elementId:u,id:"dataLabelsAddon",zIndex:fV.dataLabels,resetFontSize:!1,children:(0,g.jsx)(kq,Object.assign({},Sk,{style:{transform:"translate(".concat(c,"px, ").concat(d,"px)")},children:h.map(e=>{var{dataPoint:t,appearance:n}=e,r=sk(e,["dataPoint","appearance"]);return(0,g.jsx)(kJ,Object.assign({},n,r),t.id)})}),"".concat(r,"-").concat(p))})},SP=hb(1),SL=h.I4.div(oe(),a2,s7("grey100"),s7("textPrimary"),s7("grey60"),hC(.2),hC(.4),ss.sm),SM=e=>{let{stackEdge:t,formattedTotalValue:n}=e,{flipAxes:r}=kH();return(0,g.jsx)(SL,{style:{transform:(e=>{let{flipAxes:t,stackEdge:n}=e;return t&&"leading"===n?"translate(-100%, -50%) translateX(-".concat(SP,"px)"):t&&"trailing"===n?"translateY(-50%) translateX(".concat(SP,"px)"):t||"leading"!==n?t||"trailing"!==n?"":"translateX(-50%) translateY(".concat(SP,"px)"):"translate(-50%, -100%) translateY(-".concat(SP,"px)")})({flipAxes:r,stackEdge:t})},children:n.rich})},SO=(0,h.I4)(eh.P.div)(ot()),ST=(0,h.I4)(eh.P.div)(on()),SD=e=>{let{isDefaultVisible:t,isStackHighlighted:n,stack:r}=e;return!!t||r.some(e=>n(e.observation))},SI=e=>e.reduce((e,t)=>null===t.yValue?e:e+gY(t.yValue),0),SE=e=>{var t,n,r,i;let{stack:o,flipAxes:l}=e;return{stackLeadingEdge:null!=(n=null==(t=(0,A.A)(o,e=>e[l?"x0":"y0"]))?void 0:t[l?"x0":"y0"])?n:null,stackTrailingEdge:null!=(i=null==(r=(0,w.A)(o,e=>e[l?"x1":"y1"]))?void 0:r[l?"x1":"y1"])?i:null}},SH=e=>{var t,n,r,i;let{flipAxes:o,stack:l,stackLeadingEdge:a,stackTrailingEdge:s}=e,u=l.every(e=>null===e.yValue||0>=gY(e.yValue));return o?{x:u?a:s,y:null!=(n=null==(t=l[0])?void 0:t.yPosition)?n:0,stackEdge:u?"leading":"trailing"}:{x:null!=(i=null==(r=l[0])?void 0:r.xPosition)?i:0,y:u?s:a,stackEdge:u?"trailing":"leading"}},SV={initial:{opacity:0},animate:{opacity:1},transition:{type:"spring",bounce:0,duration:.4}},SF=e=>{let{isDefaultVisible:t,formatTotalValue:n}=e,r=fY("portalId"),i=xw("plotOffsetX"),o=xw("plotOffsetY"),l=(e=>{let{isDefaultVisible:t,formatTotalValue:n=sQ}=e,{hitboxes:r}=m2(),{flipAxes:i}=kH(),{isStackHighlighted:o}=yn(),l=(0,O.useMemo)(()=>{let e=r.flatMap(e=>e.dataPoints).filter(m3).filter(e=>"stacked"===e.stackType);return[...(0,eo.Ay)(e,e=>e[i?"yPosition":"xPosition"]).values()]},[i,r]);return(0,O.useMemo)(()=>{let e=[];for(let r of l){let{stackLeadingEdge:l,stackTrailingEdge:a}=SE({stack:r,flipAxes:i});null!==l&&null!==a&&e.push(Object.assign({isVisible:SD({isDefaultVisible:t,stack:r,isStackHighlighted:o}),formattedTotalValue:n(SI(r))},SH({flipAxes:i,stack:r,stackLeadingEdge:l,stackTrailingEdge:a})))}return e},[i,n,t,o,l])})({isDefaultVisible:t,formatTotalValue:n});return 0===l.length?null:(0,g.jsx)(f_,{elementId:r,id:"stackTotalsAddon",zIndex:fV.dataLabels,resetFontSize:!1,children:(0,g.jsx)(SO,Object.assign({},SV,{style:{transform:"translate(".concat(i,"px, ").concat(o,"px)")},children:l.filter(e=>{let{isVisible:t}=e;return t}).map(e=>{let{x:t,y:n,stackEdge:r,formattedTotalValue:i}=e;return(0,g.jsx)(ST,{initial:!1,animate:{x:t,y:n},transition:fA,children:(0,g.jsx)(SM,{stackEdge:r,formattedTotalValue:i})},"".concat(t,"-").concat(n))})}))})},SB=h.I4.svg(or());h.I4.div(oi(),s7("grey0"));let SR=e=>{let{highlightType:t,dataPoint:n,isBarHighlighted:r,isPointHighlighted:i,isSeriesHighlighted:o,isHighlighted:l}=e;if(m3(n))return r(n.observation);if(m5(n)){if("data-point"===t)return i(n.observation);if("series"===t)return o(n.observation)}return!!m4(n)&&!!l(n.observation)},Sz=e=>{let{highlightType:t}=e,n=fN(),r=(0,O.useId)(),i="url(#".concat(r,")"),{hitboxes:o,overlayState:{activeHitbox:l,closestGeomDataPoint:a}}=m2();if(null===l||null===a||!m3(a))return null;let s=e=>o.filter(ye).map(r=>{let{dataPoints:i}=r;return i.filter(m3).map(r=>SY(t,r,a)?(0,g.jsx)("rect",Object.assign({x:r.x0,y:r.y0,width:r.x1-r.x0,height:r.y1-r.y0},e?{fill:"black"}:{fill:"none",stroke:n.values.grey0,strokeWidth:2}),r.id):null)});return(0,g.jsxs)(SB,{width:"100%",height:"100%",children:[(0,g.jsx)("defs",{children:(0,g.jsxs)("mask",{id:r,x:0,y:0,width:"100%",height:"100%",maskUnits:"userSpaceOnUse",children:[(0,g.jsx)("rect",{x:0,y:0,width:"100%",height:"100%",fill:"white"}),s(!0)]})}),(0,g.jsx)("rect",{x:0,y:0,width:"100%",height:"100%",fill:n.values.grey100,fillOpacity:.5,mask:i}),s(!1)]})},SY=(e,t,n)=>{switch(e){case"series":return((e,t)=>{if(!m9(e)||!m9(t))return!1;let[n,r]=[e.groupValues,t.groupValues];return n.length===r.length&&n.every((e,t)=>void 0!==r[t]&&mJ(e)===mJ(r[t]))})(t,n);case"x-value":return!(!m9(t)||!m9(n))&&mJ(t.xValue)===mJ(n.xValue);case"data-point":return t.id===n.id}},SG=h.I4.div(oo()),SW=h.I4.div(ol()),SU=e=>{let{highlightType:t,highlightStyle:n}=e,{overlayState:{activeHitbox:r,closestGeomDataPoint:i}}=m2(),{isLineDimmed:o}=yn(),l=fN();if("data-point"!==t||null===r||null===i||!m5(i))return null;let a=yU({theme:l,color:i.vizColor,isDimmed:o(i.observation),highlightStyle:n});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(SG,{style:{transform:"translate(-50%, -50%) translate(".concat(i.xPosition,"px, ").concat(i.yPosition,"px)"),border:"1px solid ".concat(a)}}),(0,g.jsx)(SW,{style:{transform:"translate(-50%, -50%) translate(".concat(i.xPosition,"px, ").concat(i.yPosition,"px)"),backgroundColor:a}})]})},SN=h.I4.svg(oa()),SK=e=>{var t;let{highlightType:n}=e,{overlayState:{activeHitbox:r,closestGeomDataPoint:i}}=m2(),o=fN();return"series"===n&&null!==r&&null!==i&&m5(i)?(0,g.jsxs)(SN,{width:"100%",height:"100%",children:[(0,g.jsx)("rect",{x:0,y:0,width:"100%",height:"100%",fill:o.values.grey100,fillOpacity:.5}),(0,g.jsx)("path",Object.assign({d:null!=(t=i.generateLinePath())?t:"",fill:"none",stroke:i.vizColor},yW(4,i.lineType)))]}):null},SZ=h.I4.svg(os()),SX=()=>{let{overlayState:{closestGeomDataPoint:e}}=m2();return e&&m6(e)?(0,g.jsx)(SZ,{width:"100%",height:"100%",children:(0,g.jsx)("circle",{cx:e.xPosition,cy:e.yPosition,r:8,fill:"none",stroke:e.vizColor,strokeWidth:1})}):null},S_=h.I4.svg(ou()),SQ=()=>{let e=fN(),{overlayState:{closestGeomDataPoint:t}}=m2();return t&&m6(t)?(0,g.jsxs)(S_,{width:"100%",height:"100%",children:[(0,g.jsx)("rect",{x:0,y:0,width:"100%",height:"100%",fill:e.values.grey100,fillOpacity:.6}),t.partitionDataPoints.map(e=>(0,g.jsxs)(O.Fragment,{children:[(0,g.jsx)("circle",{cx:e.xPosition,cy:e.yPosition,r:5,fill:e.vizColor}),(0,g.jsx)("circle",{cx:e.xPosition,cy:e.yPosition,r:8,stroke:e.vizColor,fill:"none"})]},e.id))]}):null},SJ=h.I4.svg(oc()),Sq=h.I4.path(od(),s7("grey0")),S$=()=>{let e=fN(),{overlayState:{closestGeomDataPoint:t}}=m2(),n=(0,O.useId)(),r=gh(e=>e.computedConfig.type),i=Sb("pieRadius"),o=SC(i,r),l=Sb("pieCenterX"),a=Sb("pieCenterY");if(!t||!m4(t))return null;let s=(0,$.A)().cornerRadius(.02*i)({endAngle:t.endAngle,startAngle:t.startAngle,innerRadius:o,outerRadius:i});return s?(0,g.jsxs)(SJ,{width:"100%",height:"100%",children:[(0,g.jsx)("defs",{children:(0,g.jsx)("mask",{id:n,children:(0,g.jsx)("path",{d:s,fill:"white",strokeWidth:3,stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,g.jsx)("rect",{x:0,y:0,width:"100%",height:"100%",fill:e.values.grey100,fillOpacity:.6}),(0,g.jsx)("g",{transform:"translate(".concat(l," ").concat(a,")"),children:(0,g.jsx)(Sq,{d:s,fill:t.vizColor,mask:"url(#".concat(n,")"),strokeWidth:8})})]}):null},S1=h.I4.div(op()),S0=e=>{switch(e){case"inactive":document.body.style.cursor="";break;case"highlight":document.body.style.cursor='image-set(url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAWCAYAAADeiIy1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJMSURBVHgBrZXPa9NgGMefN1uqA3tq/4CCEcSIiLl4mcaDiGIPHop48aJTMGxQD4Kw6pjs0op6EJrhzl68Fa+zPTkPvVioknoYWlbpoeLG2qT5Qfa+2d4t7dL86PaF8PLmTZ5Pnuf75H0BjiYEIE4ahrFoGGYJjyVVVR9kMpkJOE4pipK0LOu7PaRuV13Cy8cCQ27IxkbLzj59ZhcK71yw7pI7s3GoqFpVEjzPrTIMc6HV+gszjyVIpVLwde0bNBq/4Jp4BViWnU6n0xN4rGDZEFUkE+xFjWZy6/YdO/fyle2ev9ibE7Xb7RvgeBktk5EQKnq/KK84816v9xEiVA5DqoEQqsLrt/bDmSe0MdYAQnYhgbiN94PI8gdnnTxHpCjr2VDt7uXJxUuX9wP5QVS1/yMeF5IQ4BFuYe9MisuDAUdBstkcLwgCGwBRfMvlhh2GaD9nZxfOcdzNE+DviRLKeAKbvnr9EESSFnmez8QgQEjXtffjGE/KJUk5DOEDISAIj1jTNP+QF+/eux8ZEliuA/Ex7M0meZmURd778fwhxJPn2BMuLASgVlPOUpC8vOK0shvmBSHdFapcVM1m8wyG/CYBSqXPDoReBDa6uyJkQqRputMEX8qVAUi+8MYBeEHCdNewUKfzL2+H0BjGD2p+Pn+60/m/OhzYNK0tOjYa68W5uYXzkTyBoT1IFMXJer2b7PetUwjpOHQMr2uAEIMPrpP4YuypKWM7keA26/VPOkSQ12bH4L8J77Ya2g1OPiC+f0KWyxULIYh8Yu4ARrZxdpMsCmcAAAAASUVORK5CYII=") 1x, url("data:image/png;base64,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") 2x) 9 15, pointer';break;case"unhighlight":document.body.style.cursor='image-set(url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAWCAYAAADeiIy1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAATkSURBVHgBjVV7TFNXGO+9vfQ5qGUTcchjlckWUHmEbYSHFEYHzD9gsZ1DGTWZIqLRoIMukNllQ0VMnCuIBHVO5gDdAhgI6oQWcHFuwJQsSKGsSQdulrTYru3tuztHe5e2K8UvOem55/H9zu/7ft9XEimwIWKxGIUDzn03XS4Xkp2djeG4ZafD4aiDw2Aw8Ph8Ppn0vAadq9XqJLeD4waD2csBBBkbG2PZ7XYJmF/3HDiOlz4XGHRiNpt5vg50Ol2+24EXCFjvOCNpqf6hu1dMnAXMSsG5/8BQf0ACgQAlk8k5cC5pauEcO34yDs5DQkL2tba28vr6+lYlJiZ+Ac5E6/V64/6DR4ZYrOCgnt6+hW/aO+7Bs0wmkw+YlRDM/AItLi4iVqvV7OZHuvZ99wYCjM1mVxQUFJzyBMnN2RJWVrqjvLnp9EeDQ1I1AUaj0fjNzc2bYAT8xjE1NRWJjNxgjY5+OePNN1KXtEtLECxOq9UimZnpGgRBmL4g4FoklUKJ4OXlxkiaz0mZTIZt/XpOGIqi5Pr6+nt+gaampkijo5NPtm59h8Zms17NzEjXTD2cZgzcuMWBYJs3b1R5gMBccIi7FEoQDUERxcRvk+otWemvOJ1OXC6XD5KWMyhbFiuDPTen3Esk+MDBw6rE5LdcWdm8zkuXv60Fa9MubzNKh0dOlwp374YCgXfkckUR9EUKZPBAZWVtNFBXF6Gu9KzcuxCss/OqaiUQIIazLNZGdkCp+9YJvAydtF/pkBS9974RgvX09FkDgQiFopj4+HgK9BUQBCjPC6Sj61o9+LbqdP8YtwlKrATY8PBokzeI+SlIbGwBdUUQXyZuECMRJ6A6qxsMgn5OgBiNeMuuXSIgjlgvkP/VEZAukpCQ8IFnnRQW8GK2C7YdAtsM4lxwcLBNKPzwEpiaFhb+qplRzK2F6xhGphcXc11i8U4bcOUiLWcpKSlBgM1F+LpDVTWV7Ve6YFt5slzix8cnet/Oe9eYls61/jo+IYP3QG+8ACQdEZAR6HGQ1NOXT8tnDOHhYUySd+fW3R6Snb34dftU05lTOcnJSci5lq/uMhkMm0hUlzr3h5IOinQ1h8M5wOVyyQDMLyHkzp2xKELON28NHUtMSSsZlA5/Cb5tkNmPg9JGz8QTQ6GYuw2Z5eYVGjUa7cCzGpK/RjzSi5FKpVqblpZ0FOSH/uDBpLLmk9rf4frhI6JfRkZ+agVM2i63fzcDmYAGyzSZzAvV1Y1iEIV50G5MkFl0VJRes7QU9Cxf9BegvkieIYHxtFgs5VQqtVAun13YvqNslNj7tLYmrvt6/zycEyBms2V+z566xv7+UU1+PveltrajHzMYtAjijs3m0ERGJu9//HjSBN17xh7VaDRloaGhxaQVDDKoqPjspEz2899CYbb1/Pmb1Kqqck5JSWERnU57Ua3WKk6ckPTfvy97BEoFqs8ryWh1dUO4SLR3H5sdssnTMciZGcMwGlATrlT+KWtouHBDJut8NDursAIfMDRoTEw2Rau1MJxOjIyidkdoKNWkVEothMS9qhZWsl6vXWW3Oyk4joIDToROhzs4GHQSjmNODGOY16yhGBSKASsRf3fwET5fgML/MplsNcjEVadnHfm2BwTUEQZC6NUEMex1l93+EIG/69bhDqlU6ghYjH7sX9EccpfuDcYpAAAAAElFTkSuQmCC") 1x, url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAsCAYAAAAq/ZsdAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzdSURBVHgBtZkJVBRXFkCreqW72aKggo3DcIhGGnHhZNTRKGqMJJocs2CMiktM1BA1EyOj2QQ0apKjiQiKmhiIBjccM6OTk6iDGkWIElSWdkFAFIhgA8rSe1X1vNd0maIoqG4n88+pU1X//3r1b/3333/vFUE8YnE4HCQecNnpzKl3W0ZcXJw0OjpafujQoV5NTS2x7e3t8e3t5vi6uroR4eHhypiYGBl0l7gjj3iE8nDwycnJ+BIpDghfimdXHek6xF7uhCkuLtZardY1UHeUf9A0vRshdTqdAmWLfLBHA0LBCIAvqaszjDCbzfF44DX7RTlgXUBcA3LKyMv7dQAOWgiGe6D80NAYL/yALhl/DBALg+ogNBCsu337djTni3ZSBXZmCCJanpt7/k/uwLBHa2vrPPxgOKtCM4X3onrJH4heryezs7OjgoODkyUSSSC/H9YNGDAg6eTJk6OOHTsmTUlJkZAk+XBm4J6MiSGkublbg2NiRq3hy6ipqbl38mRuWXFxyS1QQzu3zcfH5+XCwkszr169KiVRKNF13bg9RexgkpNzZDRdkiEEwy0Mw5iuXbu2dt68eTeLiopoeN7R8fwxaV5eatDo0aOT+DIQ5O/vf1zG3g8ZEqlJT9000dfXV8PtZzQaD48cOfKAXh9BE0QOg1oAfKiDpCc659T7GzcqRwwcGPYxtyHr2+9C8Dx/3pwaPlRx8bW1I0a8WhEXF0Hn5BjI3Nz1/YVmhgvTr18/eX19vd0dKFA/ClQbYZxAnqgcAaZVEhQUGMGHSd26bRgeGzZ+PojbBoNWDx06eM2lS3vDCwsL5e7AIMDBfVmxWbszRuJ9aWmZMSllQx5f/TQazSv5+RdmoloD0MOJcRsIS0tLi8Rup7t9Jufw9wOFoKKiolb+8MMPQ8ePH5kkBpOeunkazMbkoVBYqDM/n72/+oOkU3womLRXjhw5EnXmzBnWnHsGRFFasry8upxbh2r21FNjanqCkkqlARERER/iWRzG52m47Q3HeGCaJAYF6jmjtrbWaSTQTngEpNEYmClTZl+DWWri1m/dsumKGBS/8GHStmye4oJRc7rpAGoaF+rzTannuHIUCsXg3NzcSFhLns0Q0nt5eTkCAlT0jz/m7eG3ewIlBOPn1wWGLWEANW9P5lcxeHPk+3/eu3nzZi23g7e3d1hVVZXE4xkKCwtjjEY7NXv2cn1hYfF3/PbkNR/oQ7TaVi5UWnpGWE8waMEAJgZu/Xp4tXzIEF3YSy9O74M31dV3HnRulnjj+nZeEW4WnM6cnBwmIIC2KxQqy3PPLTz3yy+Xsrl9evXqZc/K3JnPhfomc4+ONetCMGAAxhAda6a7gmum4Nu92adxdrDiiScG9uF2aGi4V0NRlHPj90TlcG8kwFOgfH0bbN7ePuZJk944V1p684gYFJr0Fe+tIgVgcG2EiLy6EGG2pG67hTefbVwXGRIS0gno3LmiWplM5nTuPHbm0DyS5AxJaKhBTlFWtcnEqAsK9r0Am20st19zc7P81ZlzxzU2NT1cFyRB7oyMiixywQyHqkEirysDmANcmGcmT4rkdnjwoLU4NHTsF1otY8SP7dEacg7K6WLkMNXVgfaQEK3Zbm8xjxr1wr9v3artZH1wpnZkbC1QqdUtbB24qfFz41+b7iZMuRgMeiI7dx441K+fLxUYGMjgKzwG+r0cYgoKqiil0mFbteotn/79++r4Paqqbl0Etz8JLhtdVeo1a9ZN1uuv+RHiMHt6ggEv3bxr1/609et33TUaGQoigA6fjniEwjqqYCRkGzd+0T82dtLHcnn3m+bAxx8PbW5q+pBVP5VKZd/9dYZp8BODhMCqAOYbMZjt2/enr127pYJhZMbmZspMEEUUtnk8QywMuhuZmZl9p059+qOeYMaO+Wtg5u6MxTt3pF8J6N3bhHUwa/Jly1fI6367a+KJb3QHZufOQ2mrV2+ooCjaDKptBRia6HBOPYfBoA3j/7y8PMFI88SJ/2wYFj16Fh5vLl6aYDSa6hwdxYgq+PTkqcZhI0Y58Hgm9gVbbV2djW3fm30wmX32OMjhywbTfHDbtj1j1eroIH//Yf7h4c8qYVgSNiZyRcnuw+DRETaLw8TPf/PNNqOxwtG52EpKSq+PHjPBzkI9N+1FR23tb8b9B3PWi8PsG6vR6Po99li0H4bjGLkSnS016XZ2hlWzTz75JFgsOMN9JiP9y2Xg4g8Rklemv1qzaPHSIFA9zOYQarXqgclsSYZLg5CaAYwlI+OAU82USrWpd+8WS0XFHLvDkezAYJg7TremCH0kDL1TU1P7uQnzVncwWCJ1ESFf7drWCMbBuZBNJrM/DOvDpQlLxvBhsKSl7d22atW6KoVCaUaY4cOHUw5HEsNfNm75cq51Q16+fFkWGRmZ4gbMGwAzXEyuLmJw65BI3VHOmwL3Hzg4v7n5vpzf9/nnJ0TIZIRVrZbaKiqGU5C/YzrGT3YxBKJASI2qlp+fP1EMZnvaF7MA5i+EeHHuMxd/LfoHeg9sZVNTs3rB64tG86HCw0OfvX797CSFoonhjEvQqokBOdeYwXBG4ufn9yS3AbMyXJhtW7+cDm78GEK8XOFump9+uq75neVvX2Eb79TU+glBBQf3nX3x4sWJOt1VzCQJJhvdiodQ3fR6LQSb0lBufdaefeUsDEaaPj6aGLiVE+Iwh/n7DEa9ry+I14tBgXuz5OzZ/ImYRxASLrqGXN41GRjo10VAU3OzDc9vLVo4ECJNzMgoehCFIUChEAzbYdnShKq4uJducKGS167v4k716uWbgHmECRMmSAUSjT0DIbHBYIDppUiTydLMbYuf9eqf8Zyw7N3LoH74dS8T3cNgPPOvnjwALB+sTiznQp07dz5k+d9WDuP302q1CdXV1TK+6vU4Q2wWpa2tjWxstEolvJ7jxo0dFDN+3GN4PX/hkgsAVQCXN7qBOSEG4wkUGqfjx3OHoLHijbl7IKTFuKehQSFrbS1ZBNZrILcdsi82Vu04UMfhst5VhX7aWTEY3DQtFtt9MSg26mVLnz6BOvzYXGvX7QwhKRoDtCjXr+e+DTnlsdx2SJobl76z8hQmAbn1CFVSUvI90REuFPAjTSGYLVuytqen78lEp7MnKH6x2+0S+BJdftvIBPo+DA0uXLgwU6NRjXMHhi3zXl+Sl7V7h/1KSek9Ma8Z3Jn0DRt23CZJq0Op9EpPSHhtKVhTFRcqOCjICcpPM1dU3LkOWkK68tq/D54/IFw7M2bMkEybNs1/7ty5mZ7AoAnnt3UfAuxLS0xcX+Xv721rayMIpZJRpKS8G7Z48axlXCihgnnBgICo9/r0sRkhpWXjqJ2wL4eWbdSosZ3ST5ix7A4Gk+sHsr99CnMFK955+89s3fa0L4cLB2d70xMTUyuVSm+jRKIw+vgQJopymBITN1aeOnU+mxApP/30816p1ELDZu8Mu7ltQt42CfGO7P33U0JefnnqFuIPLGxwlpi4rpL1msEEY3AG7lW1zN/f38tms6qysjZFTp8+ZRYEjp3SWzabvfno0TN7FyxYWarREMaGhkEWyG/Q3LELhg8YwFVW0pr6+ovrlUq5WJrJI5ikpM2VNE2YWK8ZHE3aORBXJgmuveBXiVdbW7syK+uzQVFRgx/H58vKyssXLfqo3G6XWfv2ZcwqlcUMmz5uC9wZIgWNAlg1h0x2lz59+nxObGzMCuJ/LPhls7IOf82FmTOnwp6UdNPx+484BzNjBmkvKBhN0rSEgcyQY+HCdSVeXjY9rmuLBX57SAIohcJkY5gma0TEkzQAdXqPYJKEzbtptbWKBw8s3suXzw1ZtWrhHHBvwkXGTbS3m36DTc+hVnv1R5MMcU5tfb2hYvXqzadPnCi8j19WIsHgDOOZHIYbnLHvRoOEvxzv3QtUwKRKGMbakeKVKBm53Ez7+JgonFnM4hJE1+e7ASIJnS5OfvfuHS+r1ahSKgkFZFfAd5KBcCuB1lKpVJCwt8LZQSqhQ2trGwhXOesJwuKURZJSBhY9bbOZbZg+xoRGRYU3wBxiunP/Xe8HGTESnc4g0eutZDh8SjQARUVhAJHjjOXZmeU93tXKsSnfuDgdpHxVMBClxW5XQkKRMlOUGayRl0kqVZrlcpUZzxSlNoJ4qPOFe+xDQh/GRNPeRopC6yUxqVS9TEFB7bBmvClMUnYHw3k/lNOoUvbk5Dl2DLeLin6lXAbA4XpeUIasB6Hoadvhvyij1fracGemaR/4ZSF3CTJALiAQvqgdPpUc1MwAaiF1NDSYwc1Hh7EF7hvhXkVHR/emi4r0DMhjA7QecxkkT3Eg3GZnhOzpefRuuhXMerHoNeCZ6wjC9cN+kAVi6wA0zlVnwISKA9owS8QkJSU52A9F/H8L+V9c8Mi32CJVywAAAABJRU5ErkJggg==") 2x) 9 15, not-allowed'}},S2=e=>{let{onHighlight:t,onRemoveHighlight:n,highlightStyle:r,getRowCategoricalValue:i,vizType:o}=e,l=fY("portalId"),a=xw("plotOffsetX"),s=xw("plotOffsetY"),u=xw("plotWidth"),c=xw("plotHeight"),{canUserInteractWithAddon:d}=xG(),p=d("highlightEditorAddon"),{highlightType:h}=(e=>{let{onHighlight:t,onRemoveHighlight:n,getRowCategoricalValue:r}=e,{hitboxes:i,overlayState:{activeHitbox:o,closestGeomDataPoint:l}}=m2(),{selectedHighlightType:a,canUserInteractWithAddon:s,highlightEditorRef:u,setFocusedInteraction:c,restoreDefaultInteraction:d,_setSelectedHighlightType:p}=xG(),h=s("highlightEditorAddon"),g=(0,O.useCallback)(e=>{h&&(p(e),c("highlightEditorAddon"))},[p,h,c]),f=(0,O.useCallback)(()=>{h&&(p(null),d())},[p,h,d]);(0,O.useImperativeHandle)(u,()=>({enterHighlightMode:g,exitHighlightMode:f,getHighlightOptions:()=>(e=>{let t=e.some(e=>e.dataPoints.some(m3)),n=e.some(e=>e.dataPoints.some(m5)),r=e.some(e=>e.dataPoints.some(m6)),i=e.some(e=>e.dataPoints.some(m4)),o=[];if(!(t||n||r||i))return o;t&&n?o.push({label:"Point / bar",annotation:w3}):t?o.push({label:"Bar",annotation:w3}):(n||r)&&o.push({label:"Data point",annotation:w3});let{lineSeriesCount:l,barsInBarGroupOrStack:a,barSeriesCount:s,pointSeriesCount:u}=w4(e);if(t&&a>1){let t=e.some(e=>e.dataPoints.filter(m3).some(e=>"stacked"===e.stackType||"stacked-fill"===e.stackType));o.push({label:t?"Stack":"Bar group",annotation:w9})}else i&&o.push({label:"Slice",annotation:w9});return t&&n?o.push({label:"Line / series",annotation:w7}):t&&s>1?o.push({label:"Series",annotation:w7}):n&&l>1?o.push({label:"Line",annotation:w7}):r&&u>1&&o.push({label:"Series",annotation:w7}),o})(i),getRenderedHighlightedDataPoints:e=>i.flatMap(e=>e.dataPoints).filter(t=>e.includes(t.id)).filter(e=>m3(e)||m5(e)||m6(e))}));let{isBarHighlighted:m,isPointHighlighted:y,isSeriesHighlighted:x,isHighlighted:b}=yn();return(0,O.useEffect)(()=>{let e=()=>{if(h&&null!==a&&o&&l)if(SR({highlightType:a,dataPoint:l,isBarHighlighted:m,isPointHighlighted:y,isSeriesHighlighted:x,isHighlighted:b}))n(l);else{let{propertyKey:e,rowIndex:n}=dQ(l.id);t({id:crypto.randomUUID(),propertyKey:e,rowIndex:n,rowValue:r(n),config:{type:"highlight",highlight:a}})}};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[o,l,a,h,t,n,r,m,y,x,b]),(e=>{let{isInteractive:t,highlightType:n,exitHighlightMode:r}=e;(0,O.useEffect)(()=>{let e=e=>{t&&null!==n&&"Escape"===e.key&&(r(),e.preventDefault())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r,n,t]);let{overlayState:{activeHitbox:i,closestGeomDataPoint:o}}=m2();(0,O.useEffect)(()=>{let e=()=>{null===n||i&&o||r()};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[i,o,r,n])})({isInteractive:h,highlightType:a,exitHighlightMode:f}),((e,t)=>{let{overlayState:{activeHitbox:n,closestGeomDataPoint:r}}=m2(),{isBarHighlighted:i,isPointHighlighted:o,isSeriesHighlighted:l,isHighlighted:a}=yn();(0,O.useEffect)(()=>{if(!e||!t)return S0("inactive");S0(n&&r&&SR({highlightType:e,dataPoint:r,isBarHighlighted:i,isPointHighlighted:o,isSeriesHighlighted:l,isHighlighted:a})?"unhighlight":"highlight")},[n,r,e,i,a,t,o,l])})(a,h),{highlightType:a,exitHighlightMode:f}})({onHighlight:t,onRemoveHighlight:n,getRowCategoricalValue:i});return p&&null!==h?(0,g.jsx)(f_,{elementId:l,id:"highlightEditorAddon",zIndex:fV.highlightEditor,resetFontSize:!1,children:(0,g.jsxs)(S1,{style:{transform:"translate(".concat(a,"px, ").concat(s,"px)"),width:u,height:c},children:[(0,g.jsx)(Sz,{highlightType:h}),(0,g.jsx)(SK,{highlightType:h}),(0,g.jsx)(SU,{highlightType:h,highlightStyle:r}),"data-point"===h?(0,g.jsx)(SX,{}):null,"series"===h?(0,g.jsx)(SQ,{}):null,"x-value"!==h||"pie"!==o&&"donut"!==o?null:(0,g.jsx)(S$,{})]})}):null},S5=e=>({id:"highlight-editor",render:()=>(0,g.jsx)(S2,Object.assign({},e))}),S3=(0,h.I4)(eh.P.div)(oh()),S7=h.I4.div(og()),S9=h.I4.div(of()),S4=(0,O.createContext)(null),S6=ua(S4,"AnnotationsProvider"),S8=e=>{let{children:t}=e,[n,r]=(0,O.useState)(null),i=gE(n),{setFocusedInteraction:o,restoreDefaultInteraction:l}=xG();(0,O.useEffect)(()=>{n?o("annotations"):i&&l()},[n,i,l,o]);let a=(0,O.useMemo)(()=>({focusedAnnotationId:n,setFocusedAnnotationId:r}),[n]);return(0,g.jsx)(S4.Provider,{value:a,children:t})},Pe=e=>{let{id:t,editorRef:n,isNew:r,toolbarRef:i}=e,{setFocusedAnnotationId:o,focusedAnnotationId:l}=S6(),[a,s]=(0,O.useState)(!1),[u,c]=(0,O.useState)(!1),d=()=>{s(!0),o(t)},p=()=>{s(!1),o(null)};return(0,O.useEffect)(()=>{let e=e=>{var t,r;a&&(e.target instanceof Element&&(null==(t=n.current)?void 0:t.contains(e.target))||e.target instanceof Element&&(null==(r=null==i?void 0:i.current)?void 0:r.contains(e.target))||(s(!1),o(null),c(!1)))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[n,a,o,i]),gy(()=>{l===t&&o(null)}),(0,O.useEffect)(()=>{null!==l&&l!==t&&s(!1)},[l,t]),(0,O.useEffect)(()=>{var e;r&&(null==(e=n.current)||e.focus())},[r,n]),{isFocused:a,isHovered:u,blurAnnotation:p,focusAnnotation:d,editorHandlers:{onFocus:d,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onKeyDown:e=>{"Tab"===e.key&&p()}}}},Pt=e=>{let{annotationId:t,isEditable:n,isFocused:r,textEditorRef:i={current:null},onDuplicate:o,onDelete:l,onEscPress:a}=e,[s,u]=(0,O.useState)(!1);(0,O.useEffect)(()=>{let e=e=>{var c,d,p,h,g,f,m;if(r&&n){if("Escape"===e.key&&(a(),e.preventDefault(),e.stopPropagation()),"Backspace"===e.key||"Delete"===e.key){if((null==(d=null==(c=i.current)?void 0:c.editor)?void 0:d.isFocused)||(null==(p=document.activeElement)?void 0:p.matches("input")))return;l(t),e.preventDefault(),e.stopPropagation()}o&&((e.metaKey||e.ctrlKey)&&"d"===e.key&&(o(t),e.preventDefault(),e.stopPropagation()),!e.metaKey&&!e.ctrlKey||"c"!==e.key||(null==(g=null==(h=i.current)?void 0:h.editor)?void 0:g.isFocused)||(u(!0),e.preventDefault(),e.stopPropagation()),(e.metaKey||e.ctrlKey)&&"v"===e.key&&s&&!(null==(m=null==(f=i.current)?void 0:f.editor)?void 0:m.isFocused)&&(o(t),u(!1),e.preventDefault(),e.stopPropagation()))}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,i,n,r,s,l,o,a]),(0,O.useEffect)(()=>{r&&n||u(!1)},[n,r])},Pn=Math.PI/4,Pr=e=>"difference-arrow-container-".concat(e),Pi=e=>"difference-arrow-label-".concat(e),Po={light:"#1D2129",dark:"#FFFFFF"},Pl={light:Po.dark,dark:Po.light},Pa=e=>(t,n)=>{let r=t(n),i=Po[e.colorScheme];return 1.4>ex.Ay.contrast(r,i)&&(i=Pl[e.colorScheme]),{color:n,stickerColor:i}},Ps={thin:{arrowheadLength:{minValue:6,targetValue:8},strokeWidth:{minValue:1,targetValue:2}},medium:{arrowheadLength:{minValue:12,targetValue:16},strokeWidth:{minValue:2,targetValue:4}},thick:{arrowheadLength:{minValue:24,targetValue:32},strokeWidth:{minValue:4,targetValue:8}}},Pu=(e,t)=>Math.min(t.targetValue,t.minValue*e),Pc=e=>{let{startX:t,startY:n,endX:r,endY:i,attributes:o}=e,l=fY("chartWidth"),a=(0,h.DP)(),s=bg(),u=(0,O.useCallback)(()=>{var e;let t=null!=(e=o.color)?e:a.values.textPrimary;return Pa(a)(s,t)},[o.color,s,a]);return(0,O.useMemo)(()=>{let e=Math.max(1,(l-400)/400+1),a=Pu(e,Ps[o.thickness].strokeWidth),s=()=>"\n M ".concat(t," ").concat(n,"\n L ").concat(r," ").concat(i,"\n "),c=e=>{if("line-arrow"!==("start"===e?o.startArrowheadStyle:o.endArrowheadStyle))return"";let l=p("start"===e?t:r,"start"===e?n:i,"start"===e?Math.atan2(n-i,t-r):Math.atan2(i-n,r-t));switch(e){case"start":return"\n M ".concat(t," ").concat(n,"\n L ").concat(l.x1," ").concat(l.y1,"\n M ").concat(t," ").concat(n,"\n L ").concat(l.x2," ").concat(l.y2,"\n ");case"end":return"\n M ".concat(r," ").concat(i,"\n L ").concat(l.x1," ").concat(l.y1,"\n M ").concat(r," ").concat(i,"\n L ").concat(l.x2," ").concat(l.y2,"\n ")}},d=()=>{let l=Pu(e,Ps[o.thickness].arrowheadLength);return Math.min(l,Math.hypot(r-t,i-n)/(64/l))},p=(e,t,n)=>{let r=d();return{x1:e-r*Math.cos(n-Pn),y1:t-r*Math.sin(n-Pn),x2:e-r*Math.cos(n+Pn),y2:t-r*Math.sin(n+Pn)}};return{arrowThickness:a,getArrowSettings:u,getArrowPath:()=>"\n ".concat(s(),"\n ").concat("line-arrow"===o.startArrowheadStyle?c("start"):"","\n ").concat("line-arrow"===o.endArrowheadStyle?c("end"):"","\n "),getLinePath:s,getArrowheadPath:c,getDashedStroke:()=>{let e="none"!==o.startArrowheadStyle;switch(o.lineStyle){case"solid":return{};case"dashed":return{strokeDasharray:"".concat(1.5*a," ").concat(3*a),strokeDashoffset:e?1.5*a:0}}},getArrowFilterArea:()=>{let e=d()*Math.sin(Pn)+a/2+2+1.15;return{filterUnits:"userSpaceOnUse",x:Math.min(t,r)-e,y:Math.min(n,i)-e,width:Math.abs(r-t)+2*e,height:Math.abs(i-n)+2*e}}}},[l,o.thickness,o.startArrowheadStyle,o.endArrowheadStyle,o.lineStyle,u,t,n,r,i])},Pd=(0,O.memo)(e=>{let t=(0,O.useId)(),n=Pc(e),{arrowPath:r,linePath:i,startArrowheadPath:o,endArrowheadPath:l,arrowSettings:a,arrowThickness:s,dashedStroke:u,filterProps:c}=(0,O.useMemo)(()=>({arrowThickness:n.arrowThickness,arrowSettings:n.getArrowSettings(),arrowPath:n.getArrowPath(),linePath:n.getLinePath(),startArrowheadPath:n.getArrowheadPath("start"),endArrowheadPath:n.getArrowheadPath("end"),dashedStroke:n.getDashedStroke(),filterProps:n.getArrowFilterArea()}),[n]);return(0,g.jsxs)("g",{children:[(0,g.jsx)("defs",{children:(0,g.jsx)("filter",Object.assign({id:t},c,{children:(0,g.jsx)("feDropShadow",{dx:0,dy:1.15,stdDeviation:1.15,floodColor:"#000",floodOpacity:.16})}))}),(0,g.jsxs)("g",{filter:e.attributes.stickerStyle?"url(#".concat(t,")"):"",children:[e.attributes.stickerStyle&&(0,g.jsx)("path",{d:r,stroke:a.stickerColor,strokeWidth:s+4,strokeLinecap:"round",fill:"none"}),(0,g.jsx)("path",Object.assign({d:i,stroke:a.color,strokeWidth:s,strokeLinecap:"round"},u,{fill:"none"})),(0,g.jsx)("path",{d:o,stroke:a.color,strokeWidth:s,strokeLinecap:"round",fill:"none"}),(0,g.jsx)("path",{d:l,stroke:a.color,strokeWidth:s,strokeLinecap:"round",fill:"none"})]})]})});Pd.displayName="Arrow";let Pp=h.I4.svg(om()),Ph=h.I4.g(oy()),Pg=e=>{let{annotationId:t,onDelete:n}=e;return(0,g.jsx)(vP,{label:"Delete",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{variant:"subtle",onClick:()=>n(t),iconBefore:(0,g.jsx)(x2,{})})})},Pf=e=>{var t;let{annotationId:n,attributes:r,onAttributeUpdate:i,seriesColorOptions:o}=e,l=fN();return(0,g.jsx)(ju,{onChange:e=>{i(n,"color",e)},value:null!=(t=r.color)?t:l.values.textPrimary,seriesColorOptions:o})},Pm=h.I4.div(ox()),Py=h.I4.div(ob()),Px=[{value:"line-arrow",label:"Line arrow"},{value:"none",label:"None"}],Pb=Px.find(e=>"line-arrow"===e.value),PC=e=>{var t;let{annotationId:n,attributes:r,onAttributeUpdate:i,point:o}=e,l=null!=(t=Px.find(e=>e.value===r["".concat(o,"ArrowheadStyle")]))?t:Pb;return(0,g.jsx)(AO,{variant:"subtle",options:Px,value:l,onChange:e=>{i(n,"".concat(o,"ArrowheadStyle"),e.value)},shouldFitContent:!0,renderValue:()=>{switch(o){case"start":return(0,g.jsx)(Pm,{children:(0,g.jsx)(bn,{})});case"end":return(0,g.jsx)(Pm,{children:(0,g.jsx)(br,{})})}},renderItem:e=>{let{option:t,menuItemProps:n}=e;return(0,g.jsx)(Ae,Object.assign({},n,{iconAfter:"line-arrow"===t.value?(0,g.jsx)(br,{}):"—",children:t.label}))},tooltip:{label:"start"===o?"Start point":"End point",hasInvertedTheme:!1}})},Pv=[{value:"thin",label:"Thin"},{value:"medium",label:"Medium"},{value:"thick",label:"Thick"}],Pj=Pv.find(e=>"medium"===e.value),PA=e=>{var t;let{annotationId:n,attributes:r,onAttributeUpdate:i}=e,o=null!=(t=Pv.find(e=>e.value===r.thickness))?t:Pj;return(0,g.jsx)(AO,{variant:"subtle",options:Pv,value:o,onChange:e=>{i(n,"thickness",e.value)},shouldFitContent:!0,renderValue:()=>(0,g.jsx)(Pm,{children:(0,g.jsx)(bm,{})}),tooltip:{label:"Thickness",hasInvertedTheme:!1}})},Pw=h.I4.div(oC(),hf,ss.lg,su.sm,hC(.5),s7("textPrimary"),s7("overlayBackground"),sc(s7("overlayBorderGradient"),1,"lg")),Pk=[{value:"solid",label:"Solid"},{value:"dashed",label:"Dotted"}],PS=Pk.find(e=>"solid"===e.value),PP=e=>{var t;let{annotationId:n,attributes:r,onAttributeUpdate:i}=e,o=null!=(t=Pk.find(e=>e.value===r.lineStyle))?t:PS;return(0,g.jsx)(AO,{variant:"subtle",options:Pk,value:o,onChange:e=>{i(n,"lineStyle",e.value)},shouldFitContent:!0,renderValue:e=>(0,g.jsx)(Pm,{children:"solid"===e.value?(0,g.jsx)(PL,{}):(0,g.jsx)(PM,{})}),renderItem:e=>{let{option:t,menuItemProps:n}=e;return(0,g.jsx)(Ae,Object.assign({},n,{iconAfter:"solid"===t.value?(0,g.jsx)(PL,{}):(0,g.jsx)(PM,{}),children:t.label}))},tooltip:{label:"Line style",hasInvertedTheme:!1}})},PL=()=>(0,g.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,g.jsx)("path",{d:"M13.5 2.5L2.5 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),PM=()=>(0,g.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,g.jsx)("path",{d:"M13.5 2.5L2.5 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"3 4"})}),PO=e=>{let{annotationId:t,attributes:n,onAttributeUpdate:r}=e;return(0,g.jsx)(vP,{label:"Sticker effect",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{onClick:()=>{r(t,"stickerStyle",!n.stickerStyle)},variant:"subtle",children:(0,g.jsx)(PT,{isActive:n.stickerStyle})})})},PT=e=>{let{isActive:t}=e,n=(0,O.useId)(),r="M6.50002 3.16666C6.22388 3.16666 6.00002 2.9428 6.00002 2.66666C6.00002 2.39051 6.22388 2.16666 6.50002 2.16666H13.8334C14.1095 2.16666 14.3334 2.39051 14.3334 2.66666V9.99999C14.3334 10.2761 14.1095 10.5 13.8334 10.5C13.5572 10.5 13.3334 10.2761 13.3334 9.99999V3.87376L3.52024 13.6869C3.32498 13.8821 3.0084 13.8821 2.81313 13.6869C2.61787 13.4916 2.61787 13.175 2.81313 12.9798L12.6262 3.16666H6.50002Z";return(0,g.jsx)(Py,{children:(0,g.jsxs)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",children:[(0,g.jsx)("defs",{children:(0,g.jsx)("filter",{id:n,x:"-50%",y:"-50%",width:"200%",height:"200%",children:(0,g.jsx)("feDropShadow",{dx:"0",dy:"0",stdDeviation:"0.5",floodColor:"#000",floodOpacity:"0.5"})})}),(0,g.jsxs)("g",{filter:t?"url(#".concat(n,")"):"",children:[t&&(0,g.jsx)("path",{d:r,fill:"#fff",stroke:"#fff",strokeWidth:"5",strokeLinejoin:"round"}),(0,g.jsx)("path",{d:r,fill:"currentColor",stroke:"currentColor",strokeWidth:"0.5"})]})]})})},PD=O.forwardRef(function(e,t){let{isVisible:n,floatingStyles:r,annotationId:i,attributes:o,seriesColorOptions:l,onAttributeUpdate:a,onDelete:s}=e;if(!n)return null;let u={annotationId:i,attributes:o,onAttributeUpdate:a};return(0,g.jsx)(f_,{zIndex:sA.toolbar,children:(0,g.jsxs)(Pw,{ref:t,role:"toolbar","aria-label":"Free-form arrow toolbar",style:r,children:[(0,g.jsx)(Pf,Object.assign({},u,{seriesColorOptions:l})),(0,g.jsx)(PA,Object.assign({},u)),(0,g.jsx)(PC,Object.assign({point:"start"},u)),(0,g.jsx)(PP,Object.assign({},u)),(0,g.jsx)(PC,Object.assign({point:"end"},u)),(0,g.jsx)(PO,Object.assign({},u)),(0,g.jsx)(Pg,{onDelete:s,annotationId:i})]})})}),PI=e=>{let{annotationId:t,startX:n,startY:r,endX:i,endY:o,onUpdate:l,isEditorFocused:a,isEditorHovered:s,zoom:u=1}=e,c=(0,O.useRef)(n),d=(0,O.useRef)(r),p=(0,O.useRef)(i),h=(0,O.useRef)(o),[f,m]=(0,O.useState)(!1),y=gb({preventDefault:!1,dragThreshold:0,onDragStart:()=>{c.current=n,d.current=r,m(!0)},onDrag:e=>{l(t,c.current+e.deltaX/u,d.current+e.deltaY/u,i,o),document.body.style.cursor="grabbing"},onDragEnd:()=>{m(!1),document.body.style.cursor="grab"}}),x=gb({preventDefault:!1,dragThreshold:0,onDragStart:()=>{p.current=i,h.current=o,m(!0)},onDrag:e=>{l(t,n,r,p.current+e.deltaX/u,h.current+e.deltaY/u),document.body.style.cursor="grabbing"},onDragEnd:()=>{m(!1),document.body.style.cursor="grab"}});gy(()=>{y.cleanup(),x.cleanup()});let b=fN();return(0,g.jsxs)("g",{cursor:f?"grabbing":"grab",opacity:a?1:.75*!!s,children:[(0,g.jsx)("circle",Object.assign({cx:n,cy:r,r:5,fill:b.values.annotationFrameBorderColor},y.dragProps)),(0,g.jsx)("circle",Object.assign({cx:i,cy:o,r:5,fill:b.values.annotationFrameBorderColor},x.dragProps))]})},PE=e=>{let{annotationId:t,attributes:n,startX:r,startY:i,endX:o,endY:l,onMove:a,isEditorFocused:s,isEditorHovered:u,zoom:c=1}=e,d=fN(),p=Pc({startX:r,startY:i,endX:o,endY:l,attributes:n}),h=(0,O.useRef)(r),f=(0,O.useRef)(i),m=(0,O.useRef)(o),y=(0,O.useRef)(l),{dragProps:x,cleanup:b}=gb({preventDefault:!1,dragThreshold:0,onDragStart:()=>{h.current=r,f.current=i,m.current=o,y.current=l},onDrag:e=>{a(t,h.current+e.deltaX/c,f.current+e.deltaY/c,m.current+e.deltaX/c,y.current+e.deltaY/c)}});gy(b);let C=p.getLinePath();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("path",Object.assign({cursor:"move",d:C,stroke:"none",strokeWidth:15,strokeLinecap:"round"},x)),(u||s)&&(0,g.jsx)("path",{pointerEvents:"none",d:C,stroke:d.values.annotationFrameBorderColor,strokeWidth:1,strokeOpacity:s?1:.75})]})},PH=e=>{let{isVisible:t,offset:n=0}=e,{refs:{setReference:r,setFloating:i},floatingStyles:o}=(0,ej.we)({open:t,placement:"top",middleware:[(0,ej.cY)(n)],whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{let e=fY("chartWidth"),t=fY("chartHeight"),n=xw("plotOffsetX"),r=xw("plotOffsetY"),i=xw("plotHeight");return{top:-r-40,right:-(e-xw("plotWidth")-n)-10,bottom:-(t-i-r)-10,left:-n-10}},PB=(e,t,n)=>({startX:hv(n.config.start.x*e),startY:hv(n.config.start.y*t),endX:hv(n.config.end.x*e),endY:hv(n.config.end.y*t)}),PR=e=>{var{annotation:t,onPointsUpdate:n,onAttributeUpdate:r,onDuplicate:i,onDelete:o,isEditable:l,zIndex:a,isNew:s}=e,u=sk(e,["annotation","onPointsUpdate","onAttributeUpdate","onDuplicate","onDelete","isEditable","zIndex","isNew"]);let c=(0,O.useRef)(null),d=(0,O.useRef)(null),{coords:p,handleUpdate:h}=(e=>{let{annotation:t,onPointsUpdate:n}=e,r=xw("plotHeight"),i=xw("plotWidth"),[o,l]=(0,O.useState)(PB(i,r,t));(0,O.useEffect)(()=>{l(PB(i,r,t))},[r,i]);let a=PF();return{coords:o,handleUpdate:(e,t,o,s,u)=>{let c=Math.max(a.left,Math.min(t,i-a.right)),d=Math.max(a.top,Math.min(o,r-a.bottom)),p=Math.max(a.left,Math.min(s,i-a.right)),h=Math.max(a.top,Math.min(u,r-a.bottom));n(e,c/i,d/r,p/i,u/r),l({startX:c,startY:d,endX:p,endY:h})}}})({annotation:t,onPointsUpdate:n}),{isFocused:f,isHovered:m,blurAnnotation:y,editorHandlers:x}=Pe({id:t.id,editorRef:d,toolbarRef:c,isNew:s});return Pt({annotationId:t.id,isEditable:l,isFocused:f,onDelete:o,onDuplicate:i,onEscPress(){var e;null==(e=d.current)||e.blur(),y()}}),(0,g.jsxs)(Pp,{style:{zIndex:a},children:[(0,g.jsx)(Pd,Object.assign({},p,{attributes:t.config.attributes})),(0,g.jsx)(PV,Object.assign({ref:d,toolbarRef:c,annotationId:t.id,attributes:t.config.attributes,onAttributeUpdate:r,onDelete:o,onPointsUpdate:h,isFocused:f,isHovered:m,isEditable:l},p,u,x))]})},Pz=e=>{if(!e)return{x:0,y:0};switch(e.type){case"bar":return e.flipAxes?{x:e.x1,y:(e.y0+e.y1)/2}:{x:(e.x0+e.x1)/2,y:e.y0};case"line":return{x:e.xPosition,y:e.yPosition}}},PY=(e,t)=>{switch(e){case"small":return{arrowStartGap:6,arrowEndGap:6,offsetFromHighestDataPoint:15,arrowheadSize:5,curveRadius:15,strokeWidth:2,labelLineHeight:12*t,labelPadding:3,labelStrokeWidth:1,toolbarOffset:hb(2)};case"medium":return{arrowStartGap:9,arrowEndGap:9,offsetFromHighestDataPoint:18.75,arrowheadSize:7.5,curveRadius:18.75,strokeWidth:3,labelLineHeight:16*t,labelPadding:4,labelStrokeWidth:1.5,toolbarOffset:hb(2.5)};case"large":return{arrowStartGap:12,arrowEndGap:12,offsetFromHighestDataPoint:26.25,arrowheadSize:12.5,curveRadius:22.5,strokeWidth:5,labelLineHeight:20*t,labelPadding:5,labelStrokeWidth:2,toolbarOffset:hb(3)}}},PG=h.I4.path(ov()),PW=h.I4.path(oj()),PU=e=>{let{differenceArrow:t,attributes:n,plotEffect:r}=e,i=(0,O.useId)(),o=fY("textScale");if(!t)return null;let{linePath:l,arrowheadPath:a,arrowColor:s}=t,{strokeWidth:u}=PY(n.size,o),c={stroke:s,strokeWidth:u,strokeLinecap:"round"};return(0,g.jsxs)(g.Fragment,{children:["neon"===r&&(0,g.jsx)(k9,{shapeId:i,blur:3}),(0,g.jsxs)("g",{children:[(0,g.jsx)(PG,Object.assign({id:i,d:l},c)),(0,g.jsx)(PW,Object.assign({d:a},c))]})]})},PN=(0,O.createContext)(null),PK=ua(PN,"DifferenceArrowProvider"),PZ=e=>{let{children:t}=e,[n,r]=(0,O.useState)(!1),i=(0,O.useMemo)(()=>({isDragging:n,setIsDragging:r}),[n]);return(0,g.jsx)(PN.Provider,{value:i,children:t})},PX=e=>{let{arrowEnd:t,x:n,y:r,findNearestDataPoint:i,zoom:o,onFindNearestDataPoint:l}=e,a=(0,O.useRef)(n),s=(0,O.useRef)(r),{setIsDragging:u}=PK(),c=gb({preventDefault:!1,dragThreshold:0,onDragStart:()=>{a.current=n,s.current=r,u(!0)},onDrag:e=>{let n=i({from:t,x:a.current+e.deltaX/o,y:s.current+e.deltaY/o});n&&l(n),document.body.style.cursor="grabbing"},onDragEnd:()=>{u(!1),document.body.style.cursor="grab"}});return gy(()=>{c.cleanup()}),c},P_=e=>{let{annotationId:t,differenceArrow:{startControlPointPosition:n,endControlPointPosition:r,findNearestDataPoint:i,startDataPointId:o,endDataPointId:l},onUpdate:a,isEditorFocused:s,isEditorHovered:u,zoom:c=1}=e,{x:d,y:p}=n,{x:h,y:f}=r,m=PX({arrowEnd:"start",x:d,y:p,zoom:c,findNearestDataPoint:i,onFindNearestDataPoint(e){a(t,e.id,l)}}),y=PX({arrowEnd:"end",x:h,y:f,zoom:c,findNearestDataPoint:i,onFindNearestDataPoint(e){a(t,o,e.id)}}),{isDragging:x}=PK(),b=fN();return(0,g.jsxs)("g",{cursor:x?"grabbing":"grab",opacity:s?1:.75*!!u,children:[(0,g.jsx)("circle",Object.assign({cx:d,cy:p,r:5,fill:b.values.annotationFrameBorderColor},m.dragProps)),(0,g.jsx)("circle",Object.assign({cx:h,cy:f,r:5,fill:b.values.annotationFrameBorderColor},y.dragProps))]})},PQ=h.I4.g(oA()),PJ=e=>{let{annotationId:t,value:n,onAttributeUpdate:r,seriesColorOptions:i}=e;return(0,g.jsx)(ju,{onChange:e=>{r(t,"color",e)},value:n,seriesColorOptions:i,tooltip:"Color"})},Pq=h.I4.div(ow()),P$=uB.options.map(e=>({value:e,label:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1))})),P1=e=>{let{annotationId:t,attributes:n,onAttributeUpdate:r}=e,i=P$.find(e=>e.value===n.size);return(0,g.jsx)(AO,{variant:"subtle",options:P$,value:i,onChange:e=>{r(t,"size",e.value)},shouldFitContent:!0,renderValue:()=>(0,g.jsx)(Pq,{children:(0,g.jsx)(bm,{})}),tooltip:{label:"Size",hasInvertedTheme:!1}})},P0=h.I4.div(ok(),hf,ss.lg,su.sm,hC(.5),s7("textPrimary"),s7("overlayBackground"),sc(s7("overlayBorderGradient"),1,"lg")),P2={"absolute-difference":"Difference","relative-difference":"Percentage change",proportion:"Proportion"},P5=e=>{let{annotationId:t,attributes:n,onAttributeUpdate:r,differenceArrow:i}=e,o=uF.options.map(e=>({value:e,label:P2[e]})),l=o.find(e=>e.value===n.type);return(0,g.jsx)(AO,{variant:"subtle",options:o,value:l,onChange:e=>{r(t,"type",e.value)},shouldFitContent:!0,renderItem:e=>{let{option:t,menuItemProps:n}=e;return(0,g.jsx)(Ae,Object.assign({},n,{children:P3(t.value,i)}))}})},P3=(e,t)=>{let{absoluteDifference:n,percentageChange:r,proportion:i,trend:o}=t;switch(e){case"absolute-difference":{let e="Difference";return o>0&&(e="Increase"),o<0&&(e="Decrease"),"".concat(e," (").concat(n,")")}case"relative-difference":{let e="Percentage change";return o>0&&(e="Percent increase"),o<0&&(e="Percent decrease"),"".concat(e," (").concat(r,")")}case"proportion":return"Proportion (".concat(i,")")}},P7=e=>{let{annotationId:t,differenceArrow:n,onConnect:r}=e;return(0,g.jsx)(vP,{label:"Flip arrow",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{onClick:()=>{r(t,n.endDataPointId,n.startDataPointId)},variant:"subtle",iconBefore:(0,g.jsx)(bi,{})})})},P9=O.forwardRef(function(e,t){let{isVisible:n,floatingStyles:r,annotationId:i,attributes:o,onAttributeUpdate:l,onConnect:a,onDelete:s,differenceArrow:u,seriesColorOptions:c}=e;if(!n)return null;let d={annotationId:i,attributes:o,onAttributeUpdate:l,onConnect:a,differenceArrow:u};return(0,g.jsx)(f_,{zIndex:sA.toolbar,children:(0,g.jsxs)(P0,{ref:t,role:"toolbar","aria-label":"Difference arrow toolbar",style:r,children:[(0,g.jsx)(P5,Object.assign({},d)),(0,g.jsx)(PJ,Object.assign({},d,{seriesColorOptions:c,value:u.arrowColor})),(0,g.jsx)(P1,Object.assign({},d)),(0,g.jsx)(P7,Object.assign({},d)),(0,g.jsx)(Pg,{onDelete:s,annotationId:i})]})})}),P4=e=>{let{differenceArrow:t,isEditorFocused:n,isEditorHovered:r}=e,i=fN(),o=fY("textScale");return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("path",{d:t.linePath,fill:"none",stroke:"none",strokeWidth:15*o,strokeLinecap:"round",pointerEvents:"visibleStroke"}),(r||n)&&(0,g.jsx)("path",{pointerEvents:"none",d:t.linePath,fill:"none",stroke:i.values.annotationFrameBorderColor,strokeWidth:1,strokeOpacity:n?1:.75})]})},P6=O.forwardRef(function(e,t){var{annotationId:n,isFocused:r,isHovered:i,isInteractive:o=!1,isEditable:l=!1,zoom:a,differenceArrow:s,onConnect:u,onDelete:c,attributes:d,onAttributeUpdate:p,seriesColorOptions:h,toolbarRef:f}=e,m=sk(e,["annotationId","isFocused","isHovered","isInteractive","isEditable","zoom","differenceArrow","onConnect","onDelete","attributes","onAttributeUpdate","seriesColorOptions","toolbarRef"]);let y=fY("textScale"),{toolbarOffset:x}=PY(d.size,y),{setEditorContainer:b,setToolbarContainer:C,floatingStyles:v}=PH({isVisible:r,offset:x}),j=gD([t,b]),A=gD([f,C]);return o&&l&&s?(0,g.jsxs)(PQ,Object.assign({ref:j,tabIndex:0,"aria-label":"Difference arrow editor"},m,{children:[(0,g.jsx)(P4,{differenceArrow:s,isEditorFocused:r,isEditorHovered:i}),(0,g.jsx)(P_,{annotationId:n,differenceArrow:s,onUpdate:u,isEditorFocused:r,isEditorHovered:i,zoom:a}),(0,g.jsx)(P9,{ref:A,isVisible:r,floatingStyles:v,annotationId:n,attributes:d,onAttributeUpdate:p,onConnect:u,onDelete:c,differenceArrow:s,seriesColorOptions:h})]})):null}),P8=h.I4.svg(oS()),Le=h.I4.g(oP()),Lt=h.I4.rect(oL(),s7("grey100")),Ln=h.I4.text(oM(),e=>{let{$size:t}=e;switch(t){case"small":return a5;case"medium":return a3;case"large":return a7}}),Lr=()=>{let e=yu();return(0,O.useCallback)(t=>{let{attributes:n,labelPosition:r,labelColor:i,percentageChange:o,absoluteDifference:l,proportion:a}=t,s=(0,g.jsx)(Ln,Object.assign({},r,{$size:n.size,fill:i,textAnchor:"middle",dominantBaseline:"central",children:Li({attributes:n,absoluteDifference:l,percentageChange:o,proportion:a})}));return{measuredLabel:e(s),label:s}},[e])},Li=e=>{let{attributes:t,absoluteDifference:n,percentageChange:r,proportion:i}=e;switch(t.type){case"absolute-difference":return n;case"relative-difference":return r;case"proportion":return i}},Lo=e=>{let{differenceArrow:t,attributes:n,focusAnnotation:r,crossPosition:i,setCrossPosition:o,isEditable:l,flipAxes:a}=e,s=fY("textScale"),u=Lr(),{measuredLabel:c,label:d}=(0,O.useMemo)(()=>t?u(Object.assign({attributes:n},t)):{measuredLabel:{width:0},label:null},[n,t,u]),p=(0,O.useRef)(i),{dragProps:h,cleanup:f}=gb({blockPagePointerEvents:!0,dragThreshold:0,onDragStart:()=>{p.current=i},onDrag:e=>{let{deltaX:n,deltaY:r}=e;t&&(document.body.style.setProperty("cursor",null),o((0,k.A)(p.current+(a?r:n)/(null==t?void 0:t.crossSize),0,1)))},onDragEnd(){r()}});gy(f);let{isInHighlightMode:m}=xG();if(!t||!d)return null;let{labelLineHeight:y,labelPadding:x,labelStrokeWidth:b}=PY(n.size,s);return(0,g.jsxs)(Le,Object.assign({},l?h:{},{style:{cursor:l?"grab":"default",pointerEvents:m?"none":"auto"},children:[(0,g.jsx)(Lt,{x:t.labelPosition.x-c.width/2-x,y:t.labelPosition.y-y/2-x,width:c.width+2*x,height:y+2*x,rx:4,stroke:t.arrowColor,strokeWidth:b}),d]}))},Ll=e=>{let{annotation:t,getConnectedDataPointIds:n}=e,{start:r,end:i}=n(t),{isDragging:o}=PK(),l=Ch().filter(e=>e.id!==r&&e.id!==i),a=fN();return r&&i&&o?(0,g.jsx)(g.Fragment,{children:l.map(e=>{let t=Pz(e);return(0,g.jsx)("circle",{cx:t.x,cy:t.y,r:5,fill:"none",stroke:a.values.textPrimary,strokeOpacity:.5,strokeWidth:1},e.id)})}):null},La=e=>{let{intl:t,attributes:n,flipAxes:r,textScale:i,startDataPoint:o,endDataPoint:l,labelCrossPosition:a}=e,s=PY(n.size,i),u=Pz(o),c=Pz(l),d=Ld(r,u,c),p=Ls(r,u,c,s);return{labelPosition:Lu(r,u,c,p,d,a),percentageChange:fb({intl:t,differenceLabelType:"relative-difference",startValue:null==o?void 0:o.yValue,endValue:null==l?void 0:l.yValue}),absoluteDifference:fb({intl:t,differenceLabelType:"absolute-difference",startValue:null==o?void 0:o.yValue,endValue:null==l?void 0:l.yValue}),proportion:fb({intl:t,differenceLabelType:"proportion",startValue:null==o?void 0:o.yValue,endValue:null==l?void 0:l.yValue}),trend:Lc(o,l),crossSize:d}},Ls=(e,t,n,r)=>{let i=r.offsetFromHighestDataPoint+r.arrowheadSize+r.arrowEndGap;return e?Math.max(t.x,n.x)+i:Math.min(t.y,n.y)-i},Lu=function(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:.5;return e?{x:r,y:Math.min(t.y,n.y)+o*i}:{x:Math.min(t.x,n.x)+o*i,y:r}},Lc=(e,t)=>{if(!e||!t||null===e.yValue||null===t.yValue)return 0;let n=gY(e.yValue),r=gY(t.yValue);return r>n?1:re?Math.abs(t.y-n.y):Math.abs(t.x-n.x),Lp=()=>{let e=Ch();return(0,O.useCallback)((t,n)=>{let{start:r,end:i}=n(t);return{startDataPoint:e.find(e=>e.id===r),endDataPoint:e.find(e=>e.id===i),startDataPointId:r,endDataPointId:i}},[e])},Lh=e=>{let{annotation:t,getConnectedDataPointIds:n}=e,{startDataPoint:r,endDataPoint:i,startDataPointId:o,endDataPointId:l}=Lp()(t,n);return r&&i?(0,g.jsx)(Lg,Object.assign({},e,{startDataPoint:r,endDataPoint:i,startDataPointId:o,endDataPointId:l})):null},Lg=e=>{var t,{startDataPoint:n,endDataPoint:r,startDataPointId:i,endDataPointId:o,annotation:l,getConnectedDataPointIds:a,onAttributeUpdate:s,onDelete:u,zIndex:c,isNew:d,isEditable:p,plotEffect:h}=e,f=sk(e,["startDataPoint","endDataPoint","startDataPointId","endDataPointId","annotation","getConnectedDataPointIds","onAttributeUpdate","onDelete","zIndex","isNew","isEditable","plotEffect"]);let m=fY("portalId"),y=gx(s,200),[x,b]=(0,O.useState)(null!=(t=l.config.attributes.labelCrossPosition)?t:.5),C=(0,O.useRef)(null),v=(0,O.useRef)(null),j=l.config.attributes,A=(e=>{var t;let{annotation:n,attributes:r,startDataPoint:i,endDataPoint:o,startDataPointId:l,endDataPointId:a,labelCrossPosition:s}=e,u=(0,Y.A)(),c=fN(),d=fY("textScale"),p=Ch(),h=bg(),g=null!=(t=null==i?void 0:i.flipAxes)&&t,f=(0,O.useMemo)(()=>(e=>{var t;let{resolveCssColor:n,theme:r,startDataPoint:i,endDataPoint:o,annotation:l}=e;if(!i||!o)return{defaultArrowColor:r.values.defaultArrowAnnotationColor,arrowColor:r.values.defaultArrowAnnotationColor,labelColor:r.values.textPrimary};let a=i.vizColor===o.vizColor?i.vizColor:r.values.defaultArrowAnnotationColor,s=Pa(r),u=l.config.attributes.color;return u?{defaultArrowColor:a,arrowColor:null!=(t=s(n,u).color)?t:"",labelColor:r.values.textPrimary}:{defaultArrowColor:a,arrowColor:a,labelColor:r.values.textPrimary}})({resolveCssColor:h,theme:c,startDataPoint:i,endDataPoint:o,annotation:n}),[n,o,h,i,c]);return(0,O.useMemo)(()=>{let e=PY(r.size,d),t=Pz(i),n=Pz(o),c=Ls(g,t,n,e),h=(g?(e,t,n,r)=>{let{arrowStartGap:i,arrowEndGap:o,curveRadius:l}=r,a=e.x+i,s=e.y,u=e.y,c=t.y,d=t.x+o,p=t.y,h=t.y>e.y?1:-1;return"\n M ".concat(a," ").concat(s,"\n L ").concat(n-l," ").concat(u,"\n Q ").concat(n," ").concat(u," ").concat(n," ").concat(u+h*l,"\n L ").concat(n," ").concat(c-h*l,"\n Q ").concat(n," ").concat(c," ").concat(n-l," ").concat(c,"\n L ").concat(d," ").concat(p,"\n ")}:(e,t,n,r)=>{let{arrowStartGap:i,arrowEndGap:o,curveRadius:l}=r,a=e.x,s=e.y-i,u=e.x,c=t.x,d=t.x,p=t.y-o,h=t.x>e.x?1:-1;return"\n M ".concat(a," ").concat(s,"\n L ").concat(u," ").concat(n+l,"\n Q ").concat(u," ").concat(n," ").concat(u+h*l," ").concat(n,"\n L ").concat(c-h*l," ").concat(n,"\n Q ").concat(c," ").concat(n," ").concat(c," ").concat(n+l,"\n L ").concat(d," ").concat(p,"\n ")})(t,n,c,e),m=((e,t,n)=>{let{arrowEndGap:r,arrowheadSize:i}=n;return e?"\n M ".concat(t.x+r+i," ").concat(t.y-i,"\n L ").concat(t.x+r," ").concat(t.y,"\n L ").concat(t.x+r+i," ").concat(t.y+i,"\n "):"\n M ".concat(t.x-i," ").concat(t.y-r-i,"\n L ").concat(t.x," ").concat(t.y-r,"\n L ").concat(t.x+i," ").concat(t.y-r-i,"\n ")})(g,n,e),{labelPosition:y,percentageChange:x,absoluteDifference:b,proportion:C,trend:v,crossSize:j}=La({intl:u,attributes:r,flipAxes:g,textScale:d,startDataPoint:i,endDataPoint:o,labelCrossPosition:s}),A=e=>{let{from:t,x:n,y:r}=e;return p.filter(e=>(e.id!==l||"start"===t)&&(e.id!==a||"end"===t)).reduce((e,t)=>{let i=Math.sqrt(Math.pow(t.xPosition-n,2)+Math.pow(t.yPosition-r,2));return i{b(e),y(l.id,"labelCrossPosition",e)},isEditable:p,flipAxes:n.flipAxes})})}),(0,g.jsx)(Ll,{annotation:l,getConnectedDataPointIds:a})]})},Lf=(e,t)=>Lm(e.groupValues)!==Lm(t.groupValues),Lm=e=>e.map(mJ).join("#separator#"),Ly=e=>{let{deltaX:t,deltaY:n,startX:r,startY:i,startWidth:o,startHeight:l,chartWidth:a,chartHeight:s,anchor:u}=e,c=r,d=i,p=o,h=l;if(u.includes("right")&&(p+=t),u.includes("bottom")&&(h+=n),u.includes("left")){let e=o-20;c+=(0,k.A)(t,-r,e),p-=(0,k.A)(t,-r,e)}if(u.includes("top")){let e=l-20;h-=(0,k.A)(n,-i,e),d+=(0,k.A)(n,-i,e)}let g=Math.max(0,c),f=Math.max(0,d);return{x:g/a,y:f/s,width:(0,k.A)(p,20,a-g)/a,height:(0,k.A)(h,20,s-f)/s}},Lx=h.I4.div(oO()),Lb=h.I4.div(oT(),10,10,s7("annotationFrameBorderColor"),5),LC=(0,h.I4)(Lb)(oD()),Lv=(0,h.I4)(Lb)(oI()),Lj=(0,h.I4)(Lb)(oE()),LA=(0,h.I4)(Lb)(oH()),Lw=(0,O.forwardRef)((e,t)=>{let{isHovered:n,isFocused:r,isInteracting:i,annotation:o,onAttributesUpdate:l,setInteractingState:a,focusAnnotation:s}=e,u=fY("chartWidth"),c=fY("chartHeight"),d=o.config.x*u,p=o.config.y*c,h=o.config.width*u,f=o.config.height*c,m=u-h,y=c-f,x=(0,O.useRef)(d),b=(0,O.useRef)(p),C=(0,O.useRef)(h),v=(0,O.useRef)(f),j=(0,O.useRef)(""),A=()=>{x.current=d,b.current=p,C.current=h,v.current=f,s(),a({config:o.config,isInteracting:!0})},w=e=>{l(o.id,e),setTimeout(()=>{a(e=>Object.assign(Object.assign({},e),{isInteracting:!1}))},0)},S=gb({dragThreshold:0,onDragStart:A,onDrag(e){let{deltaX:t,deltaY:n}=e,r=(0,k.A)(x.current+t,0,m),i=(0,k.A)(b.current+n,0,y);a(e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{x:r/u,y:i/c})}))},onDragEnd(e){let{deltaX:t,deltaY:n}=e;w({x:(0,k.A)(x.current+t,0,m)/u,y:(0,k.A)(b.current+n,0,y)/c})}}),P=gb({dragThreshold:0,onPointerDown(e){j.current=e.currentTarget.getAttribute("data-anchor")||""},onDragStart:A,onDrag(e){let{deltaX:t,deltaY:n}=e;a(e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),Ly({deltaX:t,deltaY:n,startX:x.current,startY:b.current,startWidth:C.current,startHeight:v.current,chartWidth:u,chartHeight:c,anchor:j.current}))}))},onDragEnd(e){let{deltaX:t,deltaY:n}=e;w(Ly({deltaX:t,deltaY:n,startX:x.current,startY:b.current,startWidth:C.current,startHeight:v.current,chartWidth:u,chartHeight:c,anchor:j.current}))}});return gy(()=>{S.cleanup(),P.cleanup()}),(0,g.jsxs)(Lx,Object.assign({ref:t,style:{opacity:r||i?1:.75*!!n,cursor:"move"}},S.dragProps,{children:[(0,g.jsx)(LC,Object.assign({"data-anchor":"top-left"},P.dragProps)),(0,g.jsx)(Lv,Object.assign({"data-anchor":"top-right"},P.dragProps)),(0,g.jsx)(Lj,Object.assign({"data-anchor":"bottom-left"},P.dragProps)),(0,g.jsx)(LA,Object.assign({"data-anchor":"bottom-right"},P.dragProps))]}))});Lw.displayName="ShapeAnnotationControls";let Lk=h.I4.div(oV()),LS=h.I4.svg(oF()),LP=e=>{let{seriesColorOptions:t,annotation:n,onAttributesUpdate:r}=e;return(0,g.jsx)(ju,{tooltip:"Color",value:n.config.fillColor,onChange:e=>{r(n.id,{fillColor:e})},seriesColorOptions:t,showOpacitySlider:!0,opacityValue:n.config.fillOpacity,onOpacityChange:e=>{r(n.id,{fillOpacity:e})}})},LL=[{value:"0",label:"None"},{value:"2",label:"Thin (2px)"},{value:"8",label:"Medium (8px)"},{value:"16",label:"Thick (16px)"}],LM=e=>{let{annotation:t,onAttributesUpdate:n}=e,r=LL.find(e=>e.value===String(t.config.strokeWidth))||LL[0];return(0,g.jsx)(AO,{options:LL,value:r,onChange:e=>{n(t.id,{strokeWidth:Number(e.value)})},shouldFitContent:!0,variant:"subtle",renderValue:()=>(0,g.jsx)(bm,{}),tooltip:{label:"Border",hasInvertedTheme:!1}})},LO=h.I4.div(oB(),s7("overlayBackground"),ss.lg,su.sm,hC(.5),sy.modern,sc(s7("overlayBorderGradient"),1,"lg")),LT=(0,O.forwardRef)((e,t)=>{let{annotation:n,onAttributesUpdate:r,onDelete:i,seriesColorOptions:o}=e;return(0,g.jsxs)(LO,{role:"toolbar",ref:t,children:[(0,g.jsx)(LP,{annotation:n,onAttributesUpdate:r,seriesColorOptions:o}),(0,g.jsx)(LM,{annotation:n,onAttributesUpdate:r}),(0,g.jsx)(Pg,{annotationId:n.id,onDelete:i})]})});LT.displayName="ShapeAnnotationToolbar";let LD=e=>{let{annotation:t,onDuplicate:n,onDelete:r,onAttributesUpdate:i,zIndex:o,isNew:l,isEditable:a,seriesColorOptions:s}=e,[u,c]=(0,O.useState)(null),d=fY("underPlotPortalId"),p=xw("plotOffsetX"),h=xw("plotOffsetY"),f=xw("plotWidth"),m=xw("plotHeight"),y=(0,O.useRef)(null),x=(0,O.useRef)(null),{editorHandlers:b,isFocused:C,isHovered:v,blurAnnotation:j,focusAnnotation:A}=Pe({id:t.id,editorRef:x,toolbarRef:y,isNew:l});Pt({annotationId:t.id,isEditable:a,isFocused:C,onDelete:r,onDuplicate:n,onEscPress(){var e;null==(e=x.current)||e.blur(),j()}});let[w,k]=(0,O.useState)({config:t.config,isInteracting:!1}),{isInHighlightMode:S}=xG(),P=w.isInteracting?w.config:t.config,L=P.x*f,M=P.y*m,T=P.width*f,D=P.height*m;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(f_,{elementId:d,children:(0,g.jsx)(LS,{width:T,height:D,style:{left:p+L,top:h+M,pointerEvents:S?"none":"auto"},children:(0,g.jsx)("rect",{x:"0",y:"0",width:T,height:D,fill:P.fillColor,fillOpacity:P.fillOpacity,strokeWidth:P.strokeWidth,stroke:P.fillColor})})}),a&&(0,g.jsx)(Lk,Object.assign({},b,{ref:x,tabIndex:0,style:{zIndex:o,left:L,top:M,width:T,height:D,pointerEvents:S?"none":"auto"},children:(0,g.jsx)(Lw,{ref:c,isHovered:v,isFocused:C,isInteracting:w.isInteracting,annotation:t,onAttributesUpdate:i,setInteractingState:k,focusAnnotation:A})})),(0,g.jsx)(vT,{anchorElement:u,isWithinPortal:!0,isOpen:C,placement:"top",offset:[0,8],children:()=>(0,g.jsx)(LT,{ref:y,annotation:t,onAttributesUpdate:i,onDelete:r,seriesColorOptions:s})})]})},LI=(0,e1.yX)([e1.zW,e1.sx,e1.cM]),LE=e=>{let{id:t,annotationRef:n,onDrag:r,onResize:i}=e,o=((e,t)=>{let n=xw("plotHeight"),r=xw("plotWidth");return{draggable:!0,onDrag:i=>{let{target:o,translate:[l,a]}=i;void 0!==l&&void 0!==a&&(o.style.transform="translateY(-50%) translate(".concat(hv(l),"px, ").concat(hv(a),"px)"),t(e,l/r,a/n))}}})(t,r),l=((e,t)=>{let n=xw("plotHeight"),r=xw("plotWidth");return{resizable:!0,keepRatio:!1,onResizeStart:e=>{let{setMin:t}=e;t([30,0])},onResize:i=>{let{target:o,width:l,drag:{translate:[a,s],dist:[,u]}}=i;void 0!==l&&void 0!==a&&void 0!==s&&void 0!==u&&(o.focus(),o.style.transform="translateY(-50%) translate(".concat(hv(a),"px, ").concat(hv(s-u),"px)"),o.style.width="".concat(hv(l),"px"),t(e,a/r,(s-u)/n,l/r))},onResizeEnd:e=>{let{target:t}=e;t.focus()},edge:["w","e"],renderDirections:["w","e"]}})(t,i),a={snappable:!0,bounds:Object.assign({position:"css"},PF())};return(0,g.jsx)(LI,Object.assign({flushSync:W.flushSync,target:n},o,l,a,{useResizeObserver:!0,useMutationObserver:!0,origin:!1,preventDefault:!1}))},LH=(e,t)=>e.some(e=>e.value===t)?"fade":"opaque",LV=e=>{let{seriesColorOptions:t,onAttributesUpdate:n,annotation:r,getColorStyles:i}=e,o=gh(e=>e.theme.canvasColors);return(0,g.jsx)(ju,{tooltip:"Background",value:r.config.backgroundColor||"transparent",onChange:e=>{n(r.id,{backgroundColor:e,backgroundColorStyle:LH(o,e)})},seriesColorOptions:t,getSwatchStyles:i,showTransparentOption:!0})},LF=(0,O.createContext)(null),LB=()=>{let e=(0,O.useContext)(LF);if(!e)throw Error("ReportEditorProvider is not defined");return e},LR="graphy-document-title-node",Lz=eV.bP.create({name:"documentTitle",content:"text*",addOptions:()=>({onDocumentTitleChange:()=>{},HTMLAttributes:{"data-title":!0,class:LR}}),parseHTML:()=>[{tag:"h1[data-title]"}],renderHTML(e){var t;let{HTMLAttributes:n}=e;return["h1",(0,eV.KV)(null!=(t=this.options.HTMLAttributes)?t:{},n),0]},onTransaction(e){var t,n,r;let{transaction:i}=e;if(!i.docChanged)return;let o=null==(n=null==(t=i.docs[i.docs.length-1])?void 0:t.firstChild)?void 0:n.textContent,l=null==(r=i.doc.firstChild)?void 0:r.textContent;o!==l&&this.options.onDocumentTitleChange(l||"")}}),LY=(0,h.AH)(oR(),LR,my,hC(4)),LG=eU.A.extend({content:"".concat(Lz.name," block*")});function LW(){let{onDocumentTitleChange:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Lz.configure({onDocumentTitleChange:e}).extend(),LG,...wI({skip:[eU.A]}),wE.configure({placeholder:e=>{let{node:t}=e;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Untitled report";return e.type.name===Lz.name?t:""}(t)}}),eJ.JU]}let LU=(0,eV._w)(LW()),LN=e=>wz(LU,e),LK=e=>{var{children:t,content:n,isEditable:r,onError:i}=e,o=sk(e,["children","content","isEditable","onError"]);let l=wD(Object.assign({extensions:LW({}),content:n,isEditable:r,onError:i,isValidContent:LN},o)),a=(0,O.useMemo)(()=>({editor:l}),[l]);return(0,g.jsx)(LF.Provider,{value:a,children:t})},LZ=(0,h.AH)(oz(),LY,wH),LX=(0,h.I4)(wL)(oY(),LZ),L_=()=>{let{editor:e}=LB();return(0,g.jsxs)(LX,{children:[(0,g.jsx)(wa,{editor:e}),(0,g.jsx)(ws,{editor:e})]})},LQ={type:"doc",content:[{type:"documentTitle"}]};function LJ(e){let{placeholder:t}=e;return[...wI({skip:[wd]}),wE.configure({placeholder:t})]}let Lq=(0,eV._w)(LJ({placeholder:""})),L$=e=>wz(Lq,e),L1=(0,h.AH)(oG(),wH,aU.bold),L0=(0,h.I4)(wL)(oW(),L1),L2=["color","bold","italic","underline","link"],L5=e=>{var{placeholder:t,children:n,isEditable:r=!0}=e,i=sk(e,["placeholder","children","isEditable"]);let o=wD(Object.assign({extensions:LJ({placeholder:t}),isValidContent:L$,isEditable:r},i));return(0,g.jsxs)(L0,{children:[(0,g.jsx)(wa,{editor:o,supportedOptions:L2}),(0,g.jsx)(ws,{editor:o}),n]})},L3=Number(Number.parseFloat(String(40/18)).toFixed(2)),L7={min:{heading:40,text:18},max:{heading:53,text:24}},L9={min:{heading:48,text:23},max:{heading:67,text:31}},L4=e=>(e=>{let t="offsetWidth";return e[t]||(e.innerText=window.getComputedStyle(e,":before").getPropertyValue("content")),e[t]})(e),L6=h.I4.div(oU(),wc,wc),L8=e=>{let{editor:t,lineHeightVariant:n,onFontSizeChange:r}=e,i=(0,O.useRef)(null),o=(0,O.useCallback)(()=>{if(i.current){i.current.innerHTML=(null==t?void 0:t.getHTML())||"";let e=((e,t)=>{let{lineHeightVariant:n}=t,r=e.clientWidth,i=e.clientHeight,o=e.querySelector("p"),l=e.querySelector("h1");if(!o||!l)return null;let a=L9[n].heading,s=L9[n].text,u=L7[n].heading,c=L7[n].text,d,p=14,h=24,g=14;for(;p<=h;){let e=Math.round((d=h+p>>1)*L3);o.style.fontSize=d+"px",l.style.fontSize=e+"px",e<=u&&d<=c&&L4(o){o()},[o]),(0,O.useEffect)(()=>(null==t||t.on("update",()=>{o()}),()=>{null==t||t.off("update")}),[t,o]),(0,g.jsx)(L6,{"aria-hidden":!0,children:(0,g.jsx)("div",{contentEditable:"true",ref:i})})},Me=(0,h.AH)(oN(),wH,wc,wc,hS,wc,Math.round(18*L3),wc,18,s7("textSecondary")),Mt=(0,h.AH)(oK(),L6),Mn=(0,h.I4)(wL)(oJ(),Me,e=>{let{$format:t}=e;return"STACKED"===t&&Mt},e=>{let{$format:t,$isFirstChildEmpty:n}=e;return"INLINE"===t&&(0,h.AH)(oX(),hC(.5),n&&(0,h.AH)(oZ()))},e=>{let{$shouldFitContainer:t}=e;return t&&(0,h.AH)(o_())},wc,e=>{let{$lineHeightVariant:t}=e;return L9[t].heading},wc,e=>{let{$lineHeightVariant:t}=e;return L9[t].text},e=>{let{$fontSizeOverride:t}=e;return t&&(0,h.AH)(oQ(),t.heading,t.text)}),Mr=e=>{var{shouldFitContainer:t=!1,format:n="STACKED",children:r,editor:i,lineHeightVariant:o="min"}=e,l=sk(e,["shouldFitContainer","format","children","editor","lineHeightVariant"]);let[a,s]=(0,O.useState)(null),u=(0,O.useMemo)(()=>{let e=null==i?void 0:i.state.doc.firstChild;return!(null==e?void 0:e.isLeaf)&&!(null==e?void 0:e.childCount)},[null==i?void 0:i.state.doc.content]);return(0,g.jsxs)(Mn,{$isFirstChildEmpty:u,$format:n,$fontSizeOverride:a,$shouldFitContainer:t,$lineHeightVariant:o,children:[(0,g.jsx)(ws,Object.assign({},l,{editor:i})),i&&(0,g.jsx)(L8,{editor:i,lineHeightVariant:o,onFontSizeChange:s}),r]})},Mi=eV.YY.create({name:"leanEditorTabCursor",addKeyboardShortcuts(){return{Tab:()=>{let e=this.editor.state.selection.empty,t=this.editor.state.selection.$anchor.parent,n=1===this.editor.state.selection.$anchor.depth,r=this.editor.state.selection.$anchor.pos{let e=this.editor.state.selection.empty,t=this.editor.state.selection.$anchor.parent,n=1===this.editor.state.selection.$anchor.depth,r=this.editor.state.selection.$anchor.pos>1,i=this.editor.view.endOfTextblock("backward");if(!(e&&t&&n&&r&&i))return!0;let o=this.editor.state.selection.from-2;return!o||this.editor.chain().focus(o).run()}}}}),Mo=[eW.Ay,eK.Ay,eZ.Ay,wk,eX.A,eJ.lb],Ml={heading:"123",paragraph:"Label"};function Ma(){let{contentSpec:e,placeholder:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[...Mo,eU.A.extend({content:e}),wA,wg,Mi,wE.configure({placeholder:e=>{var n;let{node:r}=e;return r.attrs.placeholder?r.attrs.placeholder:null!=(n=Ml[r.type.name])?n:t}})]}let Ms=(0,O.createContext)(null),Mu=ua(Ms,"LeanEditorContext"),Mc=e=>{var{children:t,placeholder:n,contentSpec:r,content:i,isEditable:o=!0,onError:l}=e,a=sk(e,["children","placeholder","contentSpec","content","isEditable","onError"]);let s=wD(Object.assign({extensions:Ma({placeholder:n,contentSpec:r}),content:i,isEditable:o,onError:(0,O.useCallback)(e=>{throw l&&l(e),new dK("lean-editor","Could not display ProseMirror content",e)},[l]),isValidContent:e=>{let t;return t={contentSpec:r,placeholder:n},wz((0,eV._w)(Ma(t)),e)}},a)),u=(0,O.useMemo)(()=>({editor:s}),[s]);return(0,g.jsx)(Ms.Provider,{value:u,children:t})},Md=e=>{var{children:t}=e,n=sk(e,["children"]);let{editor:r}=Mu();return(0,g.jsx)(Mr,Object.assign({editor:r},n,{children:t}))};!function(e){e.Data="DATA",e.InlineMetric="INLINE_METRIC"}(u||(u={}));let Mp={HEADING_PARAGRAPH:"heading paragraph"},Mh=e=>Mp[e],Mg={"heading paragraph":{type:"doc",content:[{type:"heading",attrs:{level:1}},{type:"paragraph"}]}},Mf=e=>Mg[Mh(e)],Mm={value:16,label:"Medium"},My=[{value:12,label:"Small"},Mm,{value:20,label:"Large"},{value:24,label:"Extra Large"},{value:32,label:"Huge"}],Mx=e=>{var t;let{editor:n}=e,r=null!=(t=My.find(e=>e.value===n.getAttributes("textStyle").fontSize))?t:Mm;return(0,g.jsx)(AO,{variant:"subtle",options:My,value:r,onChange:e=>{n.chain().focus().selectAll().setFontSize(e.value.toString()).run()},shouldFitContent:!0,renderValue:e=>e.label,renderItem:e=>{let{menuItemProps:t,option:n,label:r,description:i}=e;return(0,g.jsx)(Ae,Object.assign({},t,{description:i,children:(0,g.jsx)("span",{style:{fontSize:n.value+"px",lineHeight:1.15*n.value+"px"},children:r})}))},tooltip:{label:"Font size",hasInvertedTheme:!1}})},Mb=(0,h.AH)(oq(),wc,16),MC=(0,h.I4)(wL)(o$(),Mb,wH,s7("white")),Mv=h.I4.div(o1()),Mj=e=>{let{onDelete:t}=e;return(0,g.jsx)(vP,{label:"Delete",hasInvertedTheme:!1,children:(0,g.jsx)(vc,{variant:"subtle",onClick:()=>t(),iconBefore:(0,g.jsx)(x2,{})})})},MA=h.I4.div(o0(),s7("overlayBackground"),ss.lg,su.sm,hC(.5),sy.modern,sc(s7("overlayBorderGradient"),1,"lg")),Mw=e=>{let{annotation:t,editor:n,inheritedFont:r,seriesColorOptions:i,onAttributesUpdate:o,onDelete:l,getBackgroundColorStyles:a}=e,s=fB();return(0,g.jsxs)(MA,{role:"toolbar","aria-label":"Free-form text toolbar",children:[(0,g.jsx)(LV,{seriesColorOptions:i,annotation:t,onAttributesUpdate:o,getColorStyles:a}),(0,g.jsx)(wt,{editor:n,seriesColorOptions:i,renderIcon:e=>(0,g.jsx)(bf,{textColor:e})}),(0,g.jsx)(Aq,{editor:n,inheritedFont:r,fonts:s}),(0,g.jsx)(Mx,{editor:n}),(0,g.jsx)(we,{editor:n}),(0,g.jsx)(Mj,{onDelete:l})]})},Mk=eV.YY.create({name:"fontSize",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,renderHTML:e=>e.fontSize?{style:"font-size: calc(".concat(e.fontSize,"px * var(--typography-scale))")}:{},parseHTML:e=>{let t=Number.parseInt(e.style.fontSize,10);return Number.isNaN(t)?"":t}}}}]},addCommands:()=>({setFontSize:e=>t=>{let{chain:n}=t;return n().setMark("textStyle",{fontSize:e}).run()},unsetFontSize:()=>e=>{let{chain:t}=e;return t().setMark("textStyle",{fontSize:null}).run()}})}),MS=function(){let{placeholder:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[eW.Ay,eK.Ay,eQ.xJ,eQ.Q1,Mk,wO,e_.A.configure({types:["paragraph"],defaultAlignment:"center"}),eU.A,eX.A,eN.A,wA,eJ.lb,wE.configure({placeholder:e})]},MP=(0,eV._w)(MS()),ML=e=>wz(MP,e),MM=O.forwardRef(function(e,t){var{spellCheck:n,isToolbarVisible:r,inheritedFont:i,seriesColorOptions:o,onAttributesUpdate:l,onDelete:a,annotation:s,getBackgroundColorStyles:u}=e;let c=(e=>{var{placeholder:t,onError:n,content:r,isEditable:i=!0}=e,o=sk(e,["placeholder","onError","content","isEditable"]);return wD(Object.assign({extensions:MS({placeholder:t}),content:r,isEditable:i,onError:(0,O.useCallback)(e=>{throw n&&n(e),new dK("text-annotation-editor","Could not display ProseMirror content",e)},[n]),isValidContent:ML},o))})(Object.assign(Object.assign({},sk(e,["spellCheck","isToolbarVisible","inheritedFont","seriesColorOptions","onAttributesUpdate","onDelete","annotation","getBackgroundColorStyles"])),{content:s.config.content})),[d,p]=(0,O.useState)(null);(0,O.useImperativeHandle)(t,()=>({editor:c}),[c]);let h=fN(),f=(null==c?void 0:c.getAttributes("textStyle").color)||h.values.textSecondary;return c?(0,g.jsxs)(MC,{style:{"--selection":f},ref:p,children:[(0,g.jsx)(eH.$Z,{editor:c,spellCheck:n}),(0,g.jsx)(vT,{anchorElement:d,isWithinPortal:!0,isOpen:r,placement:"top",offset:[0,8],children:()=>(0,g.jsx)(Mv,{children:(0,g.jsx)(Mw,{editor:c,inheritedFont:i,seriesColorOptions:o,onAttributesUpdate:l,onDelete:a,annotation:s,getBackgroundColorStyles:u})})})]}):null}),MO=h.I4.div(o2(),wP,Mb),MT=e=>{let{content:t}=e,[n,r]=(0,O.useState)("");return(0,O.useEffect)(()=>{try{r((e=>{try{return(0,eV.Zx)(e,MS())}catch(e){throw new dK("text-annotation-editor.content-to-html","Could not parse ProseMirror document to HTML",e)}})(t))}catch(e){}},[t]),(0,g.jsx)(MO,{dangerouslySetInnerHTML:{__html:n}})},MD=h.I4.div(o5(),wH,wc),MI=e=>{var{editor:t,seriesColorOptions:n}=e,r=sk(e,["editor","seriesColorOptions"]);return(0,g.jsxs)(wL,{children:[(null==t?void 0:t.isEditable)?(0,g.jsx)(wa,{editor:t,seriesColorOptions:n}):null,(0,g.jsx)(MD,{children:(0,g.jsx)(ws,Object.assign({editor:t},r))})]})},ME=eU.A.extend({content:"block{2, }"});function MH(e){let{titlePlaceholder:t="Untitled",subtitlePlaceholder:n="Add a subtitle"}=e;return[ME.configure({}),...wI({skip:[eU.A,eF.Ay,wg]}),wh({addAttributes:()=>({level:{default:3,rendered:!1}})}),wE.configure({showOnlyWhenEditable:!1,placeholder(e){var r;let{editor:i}=e;return"heading"===(null==(r=i.state.doc.firstChild)?void 0:r.type.name)?t:n}})]}let MV=(0,eV._w)(MH(Object.assign({},c))),MF=e=>wz(MV,e);function MB(e,t){var{titlePlaceholder:n,subtitlePlaceholder:r,onError:i,content:o,isEditable:l=!0}=e,a=sk(e,["titlePlaceholder","subtitlePlaceholder","onError","content","isEditable"]);let s=MH({titlePlaceholder:n,subtitlePlaceholder:r}),u=(0,O.useCallback)(e=>{null==i||i(e)},[i]);return wD(Object.assign({extensions:s,content:o?"string"==typeof o?o:!o.content||o.content.length<2?Object.assign(Object.assign({},o),{content:[...o.content||[],{type:"paragraph"}]}):o:void 0,isEditable:l,onError:u,isValidContent:MF},a),t)}let MR=px(),Mz=e=>""===eq.bP.fromJSON(MV,e).textContent,MY=e=>!("text"!==e.type||e.text&&""!==e.text)||!!e.content&&e.content.some(e=>MY(e)),MG=e=>{if(MY(e))return"";let t=eq.bP.fromJSON(MV,e);return(0,eV.q4)(t)};function MW(e){var t,n,r;let i=null==(t=e.content)?void 0:t[0],o=null!=(r=null==(n=e.content)?void 0:n.slice(1))?r:[];return{title:((e,t)=>{let n=[...e];return n.length>t?n.slice(0,t).join(""):e})(i?MG({type:"doc",content:[i]}):"",191),subtitle:o.length?MG({type:"doc",content:o}):""}}let MU=e=>MW(e).title;function MN(e){var t,n,r;let{titleDocument:i,newTitle:o}=e,l=null==(t=i.content)?void 0:t[0],a=null!=(r=null==(n=i.content)?void 0:n.slice(1))?r:[];return{type:"doc",content:[l?Object.assign(Object.assign({},l),{content:[{type:"text",text:o}]}):{type:"heading",attrs:{level:3},content:[{type:"text",text:o}]},...a.length?[{type:"paragraph",content:a}]:[]]}}class MK{with(e,t){return new MK(Object.assign(Object.assign({},this.state),{[e]:Array.isArray(t)?[...t]:t}))}withMany(e){return new MK(Object.assign(Object.assign({},this.state),e))}build(){return this.serialize(this.state)}serialize(e){return e instanceof MK?e.build():Array.isArray(e)?this.serializeArray(e):(0,S.A)(e)?this.serializeObject(e):e}serializeArray(e){return e.map(e=>this.serialize(e))}serializeObject(e){let t={};for(let n in e)t[n]=this.serialize(e[n]);return t}constructor(e){this.state=e,this.state=e}}new MK({theme:"graphy",palette:"graphy",borderStroke:cS.border,borderType:cL.enum.gradient,borderStyleName:"lilac",shouldHideCaption:!0,shouldHideSourceSection:!0,shouldHideLogo:!1}),new MK({dataType:{type:h4.Text},key:"some-key",defaultLabel:"Default label",aggregation:void 0}),new MK({type:h4.Text});let MZ=new MK({type:"doc",content:[new MK({type:"paragraph"})]}),MX=h.I4.div(o7(),s7("textPrimary"),e=>{let{$canReceivePointerEvents:t}=e;return t?"auto":"none"},e=>{let{$isEditing:t}=e;return t?"text":"default"},"600px","400px",wc,e=>{let{$isEditing:t}=e;return!t&&(0,h.AH)(o3())}),M_=e=>{let{chartTheme:t,color:n,backgroundStyle:r="opaque"}=e;return"transparent"===n?{fillColor:"transparent",borderColor:"transparent"}:"fade"===r?{fillColor:s8(n,t.values.grey100,.5),borderColor:s8(n,t.values.grey0,.2)}:dJ(n)},MQ=e=>{var t;let{annotation:n,onEdit:r,onAttributesUpdate:i,onDelete:o,editorRef:l,isEditable:a,isInteractive:s,isFocused:u,isNew:c,inheritedFont:d,seriesColorOptions:p}=e,[h,f]=(0,O.useState)(!1),m=gh(e=>e.theme.canvasColors),y=bg(),x=null!=(t=n.config.backgroundColor)?t:"transparent",b=gh(e=>e.theme),{fillColor:C,borderColor:v}=(0,O.useMemo)(()=>M_({chartTheme:b,color:y(x),backgroundStyle:n.config.backgroundColorStyle}),[n.config.backgroundColorStyle,x,b,y]);return(0,g.jsx)(MX,{$canReceivePointerEvents:u&&s,$isEditing:h,style:{backgroundColor:C,boxShadow:"0 0 0 1.5px ".concat(v)},children:a?(0,g.jsx)(MM,{ref:l,annotation:n,placeholder:"Text",onAttributesUpdate:i,onDelete:()=>{o(n.id)},onUpdate:()=>{var e,t;let i=null==(t=null==(e=l.current)?void 0:e.editor)?void 0:t.getJSON();i&&r(n.id,i)},spellCheck:h,onFocus:()=>{var e,t;f(!0),null==(t=null==(e=l.current)?void 0:e.editor)||t.commands.selectAll()},onBlur:()=>{var e,t,r;f(!1),(null==(t=null==(e=l.current)?void 0:e.editor)?void 0:t.isEmpty)?o(n.id):null==(r=window.getSelection())||r.removeAllRanges()},autofocus:c,isToolbarVisible:u,inheritedFont:d,seriesColorOptions:p,getBackgroundColorStyles:e=>M_({chartTheme:b,color:e,backgroundStyle:LH(m,e)})}):(0,g.jsx)(MT,{content:n.config.content})})},MJ=(0,h.AH)(o9(),.75),Mq=(0,h.AH)(o4(),1,s7("annotationFrameBorderColor")),M$=h.I4.div(o8(),e=>{let{$isEditable:t,$isInteractive:n}=e;return t&&n?"auto":"none"},MJ,e=>{let{$isFocused:t}=e;return t&&(0,h.AH)(o6(),Mq)},s7("alert"),0,MJ,s7("annotationFrameBorderColor"),s7("annotationFrameBorderColor")),M1=e=>{let{x:t,y:n,width:r,plotWidth:i,plotHeight:o,bounds:l}=e,a=hv(r*i);a>-l.left+i-l.right&&(a=-l.left+i-l.right);let s=hv(t*i);return si-l.right&&(s=i-l.right-a),{transform:"translateY(-50%) translate(".concat(s,"px, ").concat(hv(n*o),"px)"),width:a}},M0=e=>{let{zIndex:t,isNew:n,annotation:r,onDuplicate:i,onDelete:o,onDrag:l,onAttributeUpdate:a,onResize:s,onTextEdit:u,isEditable:c=!1,isInteractive:d=!1,inheritedFont:p,seriesColorOptions:h}=e,f=(0,O.useRef)(null),m=(0,O.useRef)(null),{isFocused:y,frameHandlers:x,setIsFocused:b}=(e=>{let{id:t,isEditable:n,annotationRef:r}=e,{setFocusedAnnotationId:i,focusedAnnotationId:o}=S6(),[l,a]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{let e=e=>{var t;n&&l&&(e.target instanceof Element&&(null==(t=r.current)?void 0:t.contains(e.target))||e.target instanceof Element&&e.target.closest('[role="toolbar"][aria-label="Free-form text toolbar"]')||(a(!1),i(null)))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r,n,l,i]),(0,O.useEffect)(()=>{null!==o&&o!==t&&a(!1)},[o,t]),gy(()=>{o===t&&i(null)}),{isFocused:l,setIsFocused:a,frameHandlers:{onFocus:()=>{n&&(a(!0),i(t))}}}})({id:r.id,isEditable:c,annotationRef:f});Pt({annotationId:r.id,isEditable:c,isFocused:y,textEditorRef:m,onDuplicate:i,onDelete:o,onEscPress(){var e,t;b(!1),null==(t=null==(e=m.current)?void 0:e.editor)||t.commands.blur()}});let C=(e=>{let{x:t,y:n,width:r}=e,i=PF(),o=xw("plotHeight"),l=xw("plotWidth"),[a,s]=(0,O.useState)(M1({x:t,y:n,width:r,plotWidth:l,plotHeight:o,bounds:i}));return(0,O.useEffect)(()=>{s(M1({x:t,y:n,width:r,plotWidth:l,plotHeight:o,bounds:i}))},[l,o,i.top,i.right,i.bottom,i.left]),a})(r.config.dimensions);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(M$,Object.assign({ref:f},x,{tabIndex:c?0:void 0,$isEditable:c,$isInteractive:d,$isFocused:y,style:Object.assign(Object.assign({},C),{zIndex:t}),children:(0,g.jsx)(MQ,{annotation:r,onEdit:u,onDelete:o,onAttributesUpdate:a,editorRef:m,isEditable:c,isInteractive:d,isFocused:y,isNew:n,inheritedFont:p,seriesColorOptions:h})})),c&&d&&(0,g.jsx)(LE,{id:r.id,annotationRef:f,onDrag:l,onResize:s})]})},M2={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:fA},M5=e=>{var t;let{isEditable:n=!1,zoom:r=1,plotEffect:i,annotations:o,onAddShape:l,onAddTextAnnotation:a,onAddArrow:s,onAddDifferenceArrow:u,onDuplicate:c,onDelete:d,onDragTextAnnotation:p,onResizeTextAnnotation:h,onTextEdit:f,onTextAttributeUpdate:m,onArrowPointsUpdate:y,onArrowAttributeUpdate:x,getConnectedDataPointIds:b,onDifferenceArrowConnect:C,onDifferenceArrowAttributeUpdate:v,onShapeAttributesUpdate:A,seriesColorOptions:w,flipAxes:k}=e,S=fY("portalId"),P=xw("plotOffsetX"),L=xw("plotOffsetY"),M=xw("plotWidth"),T=xw("plotHeight"),D=fY("font"),{canUserInteractWithAddon:I,annotationsAddonRef:E}=xG(),H=I("annotations"),V=(0,O.useCallback)(()=>{t(.375,.25,.25,.5)},[t=l]),F=(e=>(0,O.useCallback)((t,n,r)=>{e(t-.1,n,.2,r)},[e]))(a),B=(e=>{let t=xw("plotWidth"),n=xw("plotHeight");return(0,O.useCallback)((r,i,o)=>{let l=.15*Math.min(t,n);e(r-l*Math.cos(o)/t,i-l*Math.sin(o)/n,r+l*Math.cos(o)/t,i+l*Math.sin(o)/n)},[e,n,t])})(s),R=(e=>{let{allAnnotations:t,getConnectedDataPointIds:n,onAdd:r}=e,i=Ch(),o=(0,O.useMemo)(()=>[...(0,eo.Ay)(i,e=>Lm(e.groupValues)).values()].map(e=>{var t,n;let r=null!=(n=null==(t=e[0])?void 0:t.flipAxes)&&n;return(0,j.A)(e,r?"yPosition":"xPosition","desc")}).flat(),[i]);return(0,O.useCallback)(()=>{let e=t.filter(e=>"difference-arrow"===e.config.type);for(let t=0;t{let t=n(e);return t.start===i.id&&t.end===l.id||t.start===l.id&&t.end===i.id}))return void r(i.id,l.id)}},[t,n,r,o])})({allAnnotations:o,getConnectedDataPointIds:b,onAdd:u});(0,O.useImperativeHandle)(E,()=>({addText:F,addArrow:B,addShape:V,addDifferenceArrow:R}));let{focusedAnnotationId:z}=S6(),G=(e=>{let{annotations:t}=e,n=(0,O.useRef)(t.map(e=>e.id));return(0,O.useCallback)(e=>!n.current.includes(e)&&(n.current.push(e),!0),[])})({annotations:o});return(e=>{let{annotations:t,getConnectedDataPointIds:n,flipAxes:r}=e,i=(0,Y.A)(),o=(0,O.useMemo)(()=>t.filter(e=>"difference-arrow"===e.config.type),[t]),l=fY("textScale"),a=Lp(),s=Lr(),u=xw("plotWidth"),c=fY("setPlotPadding");(0,O.useEffect)(()=>{let e=0;for(let t of o){let o=t.config.attributes,{startDataPoint:c,endDataPoint:d}=a(t,n),p=La({intl:i,attributes:o,flipAxes:r,textScale:l,startDataPoint:c,endDataPoint:d}),{measuredLabel:h}=s(Object.assign({attributes:o,labelColor:"none"},p)),{labelLineHeight:g,labelPadding:f}=PY(o.size,l),m=r?p.labelPosition.x+h.width/2+f-u:-(p.labelPosition.y-g/2-f);m>e&&(e=m)}c(e)},[o,r,n,a,i,s,u,c,l])})({annotations:o,getConnectedDataPointIds:b,flipAxes:k}),(0,g.jsx)(f_,{elementId:S,zIndex:fV.annotations,resetFontSize:!1,children:(0,g.jsxs)(S3,Object.assign({style:{transform:"translate(".concat(P,"px, ").concat(L,"px)"),width:M,height:T}},M2,{children:[o.map((e,t)=>{let l=z===e.id?o.length+1:t+1;switch(e.config.type){case"text":return(0,g.jsx)(M0,{annotation:e,onDuplicate:c,onDelete:d,onDrag:p,onResize:h,onTextEdit:f,onAttributeUpdate:m,isNew:G(e.id),isInteractive:H,isEditable:n,zIndex:l,inheritedFont:D.body.fontId,seriesColorOptions:w},e.id);case"arrow":return(0,g.jsx)(PR,{annotation:e,onPointsUpdate:y,onAttributeUpdate:x,onDuplicate:c,onDelete:d,isNew:G(e.id),isInteractive:H,isEditable:n,zoom:r,zIndex:l,seriesColorOptions:w},e.id);case"difference-arrow":return(0,g.jsx)(Lh,{annotation:e,zIndex:l,getConnectedDataPointIds:b,onAttributeUpdate:v,onConnect:C,onDelete:d,isNew:G(e.id),isInteractive:H,isEditable:n,zoom:r,plotEffect:i,seriesColorOptions:w},e.id);case"shape":return(0,g.jsx)(LD,{annotation:e,onDuplicate:c,onDelete:d,onAttributesUpdate:A,isNew:G(e.id),isEditable:n,zIndex:l,seriesColorOptions:w})}}),(0,g.jsx)(S7,{id:Pr(S)}),(0,g.jsx)(S9,{id:Pi(S)})]}))})},M3=e=>(0,g.jsx)(S8,{children:(0,g.jsx)(M5,Object.assign({},e))}),M7=e=>({id:"annotations",render:()=>(0,g.jsx)(M3,Object.assign({},e))}),M9=e=>"arrow"===e.config.type||"text"===e.config.type||"difference-arrow"===e.config.type||"shape"===e.config.type,M4={type:"doc",content:[{type:"heading",attrs:{level:6}}]},M6=D.Ik({type:D.eu("doc"),content:D.YO(D.Ik({type:D.eu("heading"),placeholder:D.Yj().optional(),content:D.Vx(),attrs:D.Ik({level:D.eu(6)})})).length(1)}),M8=e=>{let t,{annotation:n,dataPoint:r,formatPieValue:i,formatAlphaValue:o,formatYValue:l,highlightStyle:a}=e,{getLegendSymbolFill:s}=kx();if("tooltip"===n.config.type&&n.config.caption&&(t=n.config.caption,!M6.safeParse(t).success)){let e=wq(n.config.caption);return(0,g.jsx)(ky,{items:[{label:e}],shouldTruncate:!0})}return(0,g.jsx)(ky,{items:[{label:m4(r)?(0,g.jsx)(ku,{dataPoint:r,formatter:i}):m9(r)?m7(r)?(0,g.jsx)(kt,{dataPoint:r,formatter:o}):(0,g.jsx)(ki,{dataPoint:r,formatter:l}):null,legendSymbol:(0,g.jsx)(sV,{symbol:r.type,fill:s(r,a),pattern:kp(r)})}]})},Oe=[{placement:"top",preventOverlap:!0},{placement:"right",preventOverlap:!0},{placement:"left",preventOverlap:!0},{placement:"bottom",preventOverlap:!0},{placement:"top",preventOverlap:!1},{placement:"right",preventOverlap:!1},{placement:"left",preventOverlap:!1},{placement:"bottom",preventOverlap:!1}],Ot=[{placement:"right",preventOverlap:!0},{placement:"left",preventOverlap:!0},{placement:"top",preventOverlap:!0},{placement:"bottom",preventOverlap:!0},{placement:"right",preventOverlap:!1},{placement:"left",preventOverlap:!1},{placement:"top",preventOverlap:!1},{placement:"bottom",preventOverlap:!1}],On=e=>sq(e)&&"highlight"!==e.config.type,Or=e=>{let{placement:t,measuredWidth:n,measuredHeight:r,markerPosition:i}=e;switch(t){case"top":return{x1:i.x-n/2,y1:i.y-9-r,x2:i.x+n/2,y2:i.y-9};case"right":return{x1:i.x+9,y1:i.y-r/2,x2:i.x+9+n,y2:i.y+r/2};case"bottom":return{x1:i.x-n/2,y1:i.y+9,x2:i.x+n/2,y2:i.y+9+r};case"left":return{x1:i.x-9-n,y1:i.y-r/2,x2:i.x-9,y2:i.y+r/2}}},Oi=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.x1+nt.x1&&e.y1+nt.y1},Oo=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return e.x1<-r||e.y1<-r||e.x2>t+r||e.y2>n+r},Ol={"clapping-hands":{aspectRatio:"1.059 / 1",src:"data:image/png;base64,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"},"grinning-face":{aspectRatio:"1.03 / 1",src:"data:image/png;base64,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"},rocket:{aspectRatio:"1.046 / 1",src:"data:image/png;base64,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"},"thumbs-down":{aspectRatio:"1.063 / 1",src:"data:image/png;base64,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"},"thumbs-up":{aspectRatio:"1.063 / 1",src:"data:image/png;base64,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"}},Oa=h.I4.img(le(),e=>{let{$isEditable:t}=e;return t?"all":"none"},1),Os=O.memo(function(e){let{x:t,y:n,src:r,alt:i,onClick:o,isEditable:l,isInteractive:a}=e;return(0,g.jsx)(Oa,{src:r,alt:i,style:{transform:"translate(-50%, -50%) translate(".concat(t,"px, ").concat(n,"px)")},onClick:o,$isEditable:l&&a})}),Ou=e=>{let{sticker:t}=e,{src:n,aspectRatio:r}=Ol[t];return(0,g.jsx)("img",{src:n,style:{aspectRatio:r,width:"100%"},alt:t})},Oc=h.I4.div(lt(),2,e=>{let{$isInteractive:t}=e;return t?"all":"none"},4),Od=h.I4.div(lr(),s7("textPrimary"),3,s7("textPrimary"),e=>{let{$isEditable:t}=e;return t?"all":"none"},e=>{let{$isEditable:t}=e;return t?"pointer":"default"},e=>{let{$isEditable:t}=e;return t&&(0,h.AH)(ln())}),Op=e=>{let{x:t,y:n,vizColor:r,onClick:i,isEditable:o,isInteractive:l,vizTooltipProps:a,dataPoint:s,placement:u,highlightStyle:c,onUpdate:d}=e,{overlayState:{closestGeomDataPoint:p}}=m2(),h=(null==p?void 0:p.id)===s.id||(null==a?void 0:a.shouldShowMiniTooltip);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Od,{onClick:i,$isEditable:o,style:{transform:"translate(-50%, -50%) translate(".concat(t,"px, ").concat(n,"px)"),backgroundColor:r},children:o&&l&&(0,g.jsx)(x6,{size:"xs"})}),(0,g.jsx)(Oc,{$isInteractive:l,style:{transform:Oh(u,t,n)},children:(0,g.jsx)(kT,Object.assign({mode:"pinned",dataPoint:s,arrowPlacement:Og(u),highlightStyle:c,isEditable:o,onUpdate:d,shouldShowMiniTooltip:h},a))})]})},Oh=(e,t,n)=>{switch(e){case"top":return"translate(-50%, -100%) translate(".concat(t,"px, ").concat(n-9,"px)");case"right":return"translateY(-50%) translate(".concat(t+9,"px, ").concat(n,"px)");case"bottom":return"translateX(-50%) translate(".concat(t,"px, ").concat(n+9,"px)");case"left":return"translate(-100%, -50%) translate(".concat(t-9,"px, ").concat(n,"px)")}},Og=e=>{switch(e){case"top":return"bottom";case"right":return"left";case"bottom":return"top";case"left":return"right"}},Of=e=>{let{annotation:t,placement:n,dataPoint:r,onDelete:i,onUpdate:o,isEditable:l=!0,isInteractive:a=!0,tooltipOptions:s,highlightStyle:u}=e,c=xE(r),d=t.config;switch(d.type){case"sticker":{let e=Ol[d.id].src;return(0,g.jsx)(Os,Object.assign({},c,{alt:d.id,src:e,onClick:()=>l&&(null==i?void 0:i(t)),isEditable:l,isInteractive:a}))}case"tooltip":return(0,g.jsx)(Op,Object.assign({dataPoint:r,placement:n,vizColor:r.vizColor,onClick:()=>l&&(null==i?void 0:i(t)),isEditable:l,isInteractive:a,vizTooltipProps:s,highlightStyle:u,onUpdate:e=>null==o?void 0:o(Object.assign(Object.assign({},t),{config:Object.assign(Object.assign({},d),{caption:e})}))},c));case"shape":case"highlight":case"text":case"arrow":case"difference-arrow":return null}},Om=h.I4.div(li(),fV.pointAnnotations),Oy=e=>{var t,n,r,{annotations:i,getDataPointId:o,isEnabled:l=!0,highlightStyle:a,flipAxes:s}=e,u=sk(e,["annotations","getDataPointId","isEnabled","highlightStyle","flipAxes"]);let{hitboxes:c}=m2(),d=fY("portalId"),p=xw("plotOffsetX"),h=xw("plotOffsetY"),f=xw("plotWidth"),m=xw("plotHeight"),y=yu(),x=(0,O.useMemo)(()=>{var e,t,n;return l?(e=>{var{measureReactContent:t,sortedAnnotations:n,plotWidth:r,plotHeight:i,flipAxes:o,highlightStyle:l}=e,a=sk(e,["measureReactContent","sortedAnnotations","plotWidth","plotHeight","flipAxes","highlightStyle"]);let s=[];for(let e of n){let n=t((0,g.jsx)(M8,Object.assign({annotation:e.annotation,dataPoint:e.dataPoint,highlightStyle:l},a))),u=!1,c=[...s].reverse(),d=o?Ot:Oe;e:for(let{placement:t,preventOverlap:o}of d){let l=Or({placement:t,measuredWidth:n.width,measuredHeight:n.height,markerPosition:e.markerPosition});if(!Oo(l,r,i,25)&&o){for(let e of c)if(Oi(l,Or({placement:e.placement,measuredWidth:e.measuredWidth,measuredHeight:e.measuredHeight,markerPosition:e.markerPosition}),2))continue e;s.push({annotation:e.annotation,measuredWidth:n.width,measuredHeight:n.height,dataPoint:e.dataPoint,hitbox:e.hitbox,placement:t,markerPosition:e.markerPosition}),u=!0;break}}u||s.push({annotation:e.annotation,measuredWidth:n.width,measuredHeight:n.height,dataPoint:e.dataPoint,hitbox:e.hitbox,placement:"top",markerPosition:e.markerPosition})}return s})({measureReactContent:y,sortedAnnotations:(e=>{let{annotations:t,hitboxes:n,getDataPointId:r}=e,i=n.flatMap(e=>{let{dataPoints:t}=e;return t}).reduce((e,t)=>Object.assign(Object.assign({},e),{[t.id]:t}),{}),o=n.map(e=>e.dataPoints.reduce((t,n)=>Object.assign(Object.assign({},t),{[n.id]:e}),{})).reduce((e,t)=>Object.assign(Object.assign({},e),t),{});return[...t].reduce((e,t)=>{let n=r(t),l=i[n],a=o[n];if(!l||!a)return e;let s=xE(l);return[...e,{annotation:t,dataPoint:l,hitbox:a,markerPosition:s}]},[]).sort((e,t)=>e.markerPosition.x>t.markerPosition.x?1:e.markerPosition.xt.markerPosition.y?1:-1)})({annotations:i.filter(On),hitboxes:c,getDataPointId:o}),plotWidth:f,plotHeight:m,formatAlphaValue:null==(e=u.tooltipOptions)?void 0:e.formatAlphaValue,formatPieValue:null==(t=u.tooltipOptions)?void 0:t.formatPieValue,formatYValue:null==(n=u.tooltipOptions)?void 0:n.formatYValue,flipAxes:s,highlightStyle:a}):[]},[i,s,o,c,l,y,m,f,a,null==(t=u.tooltipOptions)?void 0:t.formatAlphaValue,null==(n=u.tooltipOptions)?void 0:n.formatPieValue,null==(r=u.tooltipOptions)?void 0:r.formatYValue]),{canUserInteractWithAddon:b}=xG();return l?(0,g.jsx)(f_,{elementId:d,id:"pointAnnotationsAddon",resetFontSize:!1,children:(0,g.jsx)(Om,{style:{transform:"translate(".concat(p,"px, ").concat(h,"px)"),width:f,height:m},children:x.map(e=>{let{annotation:t,placement:n,dataPoint:r}=e;return(0,g.jsx)(Of,Object.assign({annotation:t,dataPoint:r,placement:n,isInteractive:b("pointAnnotationsAddon"),highlightStyle:a},u),r.id)})})}):null},Ox=e=>({id:"pointAnnotations",render:()=>(0,g.jsx)(Oy,Object.assign({},e))}),Ob=()=>{let e=fY("portalId"),t=Sb("labelMaxWidth"),n=Sb("labels");return(0,g.jsx)(f_,{elementId:e,id:"pieLabelsAddon",zIndex:fV.dataLabels,resetFontSize:!1,children:n.map(e=>{let{x:n,y:r,id:i,formatted:o}=e;return(0,g.jsx)(Sg,{maxWidth:t,style:{position:"absolute",transform:"translate(".concat(n,"px, ").concat(r,"px)")},children:o.rich},i)})})},OC=e=>Object.values(e).join("__");function Ov(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0,r=m2();return(0,O.useMemo)(()=>{var t,i,o,l,a;let s=null!=(i=null==(t=r.overlayState.activeHitbox)?void 0:t.dataPoints)?i:[];switch(e){case"bar":return null!=(o=s.filter(m3).filter(n))?o:[];case"line":return null!=(l=s.filter(m5).filter(n))?l:[];case"tile":return null!=(a=s.filter(m7).filter(n))?a:[]}},[n,null==(t=r.overlayState.activeHitbox)?void 0:t.dataPoints,e])}let Oj=e=>{let{filter:t,highlightStyle:n,lineThickness:r}=e,i=fN(),o=Ov("line",t),{isFocusedInteraction:l}=xG(),{isPointHighlighted:a,isLineDimmed:s}=yn();return!o.length||l?null:(0,g.jsx)("g",{style:St(),children:o.map((e,t)=>{let{xPosition:o,yPosition:l,vizColor:u,groupValues:c,yValue:d,observation:p}=e,h="".concat(o,"-").concat(l,"-").concat(c,"-").concat(u,"-").concat(t);return null===d||a(p)?null:(0,g.jsx)(k8,{mainPosition:o,crossPosition:l,size:OA(r),fill:i.values.grey100,strokeWidth:2,stroke:yU({theme:i,color:u,isDimmed:s(p),highlightStyle:n}),"aria-label":"Hover Marker"},h)})})},OA=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2.5;return Math.max(3,3*e)},Ow=()=>{let{values:e}=fN(),{flipAxes:t}=kH(),n=xw("plotWidth"),r=xw("plotHeight"),[i]=Ov("line"),{isFocusedInteraction:o}=xG();if(!i||o)return null;let a=i[t?"yPosition":"xPosition"];return(0,g.jsx)(Ss,{ruleStyle:"dashed",orientation:t?l.X:l.Y,origin:0,end:t?n:r,crossOrigin:a,stroke:e.hoverGuideLineColor})},Ok=(0,O.memo)(e=>{let{vizType:t,clipPath:n,observations:r,plotEffect:i,lineThickness:o,lineGenerator:l,areaGenerator:a,showAreas:s,backgroundColor:u,showPoints:c}=e,{getColor:d,getLineType:p}=xg(),{flipAxes:h}=kH(),{isLineDimmed:f}=yn(),[m]=r,y=f(m),x=d(m);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Sn,{clipPath:n,observations:r,lineGenerator:l,color:x,isDimmed:y,backgroundColor:u,lineType:p(m),effect:i,role:"graphics-symbol img","aria-roledescription":"line","aria-label":"Line",lineThickness:o,showPoints:c}),s&&(0,g.jsx)(Su,{clipPath:n,isDimmed:y,observations:r,areaGenerator:a,color:x,flipAxes:h,variant:"areaStacked"===t?"solid":"gradient"})]})}),OS=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"catmull-rom";switch(e){case"linear":return ee.A;case"catmull-rom":return et.A}},OP=(e,t,n)=>{let r=e[t];return null!==e[n]&&void 0!==r},OL=e=>{let{x:t,y:n,getXPosition:r,xBandwidth:i,getYPosition:o,curveType:l,flipAxes:a}=e,s=e=>r(e)+(null!=i?i:0)/2,u=e=>o(e);return(0,en.A)().x(a?u:s).y(a?s:u).defined(e=>OP(e,t,n)).curve(OS(l))},OM=e=>"line-plot-slide-animation-".concat(e),OO=e=>{let{plotId:t}=e,{flipAxes:n}=kH(),r=xw("plotWidth"),i=xw("plotHeight");return(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:OM(t),children:(0,g.jsx)(eh.P.rect,{x:-20,y:-20,width:r- -40,height:i- -40,initial:{[n?"scaleY":"scaleX"]:0,[n?"originY":"originX"]:0},animate:{[n?"scaleY":"scaleX"]:1},transition:fA})})})},OT=(0,O.memo)(e=>{let{vizType:t,x:n,y:r,group:i=[],curveType:o,plotEffect:l,highlightStyle:a,backgroundColor:s,lineThickness:u,treatEmptyValues:c,showPoints:d}=e,p=(0,O.useId)(),{getXPosition:h,xBandwidth:f,getYPosition:m,getLowerYPosition:y,flipAxes:x}=kH(),{isSeriesHighlighted:b}=yn(),{visibleObservations:C}=Sd(),v=(()=>{let e=xw("plotHeight"),t=xw("plotWidth"),{xBandwidth:n,xStep:r,xBandOuterPadding:i}=kH(),o=(0,O.useMemo)(()=>null===n||null===r||null===i?-20:r*i+n/2+-20,[i,n,r]),l="line_clip_".concat((0,O.useId)());return(0,O.useMemo)(()=>({id:l,url:"url(#".concat(l,")"),props:{x:o,y:-20,width:t-2*o,height:e- -40}}),[l,e,t,o])})(),{partitionsMap:j,partitionKeys:A}=(0,O.useMemo)(()=>ym({observations:C,group:i}),[C,i]),w=(0,O.useMemo)(()=>OL({x:n,y:r,getXPosition:h,xBandwidth:f,getYPosition:m,curveType:o,flipAxes:x}),[o,x,h,m,n,f,r]),k=(0,O.useMemo)(()=>(e=>{let{x:t,y:n,getXPosition:r,xBandwidth:i,getYPosition:o,getLowerYPosition:l,curveType:a,flipAxes:s}=e,u=e=>r(e)+(null!=i?i:0)/2,c=e=>o(e),d=e=>l(e);return(s?(0,er.A)().x1(c).x0(d).y(u):(0,er.A)().x(u).y0(d).y1(c)).defined(e=>OP(e,t,n)).curve(OS(a))})({x:n,y:r,getXPosition:h,xBandwidth:f,getYPosition:m,getLowerYPosition:y,curveType:o,flipAxes:x}),[n,r,h,f,m,y,o,x]),S=yY({partitionKeys:A,partitionsMap:j,isSeriesHighlighted:b}),P="areaStacked"===t||1===A.length;return(0,g.jsxs)(O.Fragment,{children:[(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:v.id,children:(0,g.jsx)("rect",Object.assign({},v.props))})}),(0,g.jsx)(OO,{plotId:p}),(0,g.jsx)(Ow,{}),(0,g.jsx)(em.N,{children:(0,g.jsx)("g",{clipPath:"url(#".concat(OM(p),")"),children:S.map(e=>{let n=j.get(e);return!function(e){return!!(e&&e.length>0)}(n)?null:(0,g.jsx)(Ok,{vizType:t,clipPath:v.url,showAreas:P,observations:n,lineGenerator:w,areaGenerator:k,plotEffect:l,backgroundColor:s,lineThickness:u,showPoints:d},e)})})}),(0,g.jsx)(Oj,{highlightStyle:a,lineThickness:u})]},c)}),OD=e=>{let{x:t,y:n,yValue:r,group:i,cluster:o,relatedX:l,getDataPointId:a,curveType:s}=e,{getColor:u,getLineType:c}=xg(),{flipAxes:d,getXPosition:p,xBandwidth:h,getYPosition:g,getSecondaryYPosition:f}=kH(),m=(0,O.useCallback)(e=>{let{observation:y,previousObservation:x,seriesObservations:b,getDataPointXPosition:C,getDataPointYPosition:v,isSecondaryAxis:j}=e,A=y[t],w=y[r],k=l?y[l]:void 0,S=a(y),P=yf({observation:y,group:i}),L=C(y),M=v(y),O=u(y),T=c(y);return{type:"line",id:S,xValue:A,yValue:w,percentage:null,relatedXValue:k,xPosition:d?M:L,yPosition:d?L:M,groupValues:P,clusterValues:yj(o)?yv({observation:y,cluster:o}):null,vizColor:O,lineType:T,observation:y,flipAxes:d,previousDataPoint:x?m({observation:x,getDataPointXPosition:C,getDataPointYPosition:v}):void 0,generateLinePath:()=>OL({x:t,y:n,getXPosition:p,xBandwidth:h,getYPosition:j?f:g,curveType:s,flipAxes:d})(null!=b?b:[])}},[o,s,d,u,a,c,g,f,p,i,l,t,h,n,r]);return m},OI=e=>{let{yOrigin:t,bandwidth:n,filter:r,flipAxes:i}=e,o=fN(),l=xw("plotWidth"),a=xw("plotHeight"),{highlightStyle:s}=yn(),u=Ov("bar",r),{innerDimensions:c,outerDimensions:d}=(0,O.useMemo)(()=>OH({plotWidth:l,plotHeight:a,dataPoints:u,yOrigin:t,bandwidth:n,flipAxes:i}),[n,u,i,a,l,t]),p="".concat((0,O.useId)(),"-stroke-mask"),{isFocusedInteraction:h}=xG(),{getLegendSymbolFill:f}=kx();return!u.length||h?null:(0,g.jsxs)("g",{children:[(0,g.jsx)("defs",{children:(0,g.jsxs)("mask",{id:p,children:[(0,g.jsx)("rect",Object.assign({fill:"white"},d)),(0,g.jsx)("rect",Object.assign({fill:"black"},c))]})}),(0,g.jsx)("rect",Object.assign({},d,{fill:OE({theme:o,dataPoints:u,getLegendSymbolFill:f,highlightStyle:s}),fillOpacity:.15,mask:"url(#".concat(p,")")}))]})},OE=e=>{let{theme:t,dataPoints:n,getLegendSymbolFill:r,highlightStyle:i}=e;return n?[...new Set(n.map(e=>{let{vizColor:t}=e;return t}))].length>1?t.values.stackedBarHoverBorderColor:n[0]?r(n[0],i):t.values.stackedBarHoverBorderColor:t.values.stackedBarHoverBorderColor},OH=e=>{var t,n,r,i,o,l,a,s;let{plotWidth:u,plotHeight:c,dataPoints:d,yOrigin:p,bandwidth:h,flipAxes:g}=e,f=e=>{let{yPosition:t,yValue:n}=e;return null===n?p:t},m=null!=(n=null==(t=(0,A.A)(d,"x0"))?void 0:t.x0)?n:0,y=null!=(i=null==(r=(0,w.A)(d,"x1"))?void 0:r.x1)?i:u,x=null!=(l=null==(o=(0,A.A)(d,f))?void 0:o.y0)?l:0,b=null!=(s=null==(a=(0,w.A)(d,f))?void 0:a.y1)?s:c,C=g?m:x,v=g?x:m,j=yB(h),k={[g?"y":"x"]:v,[g?"x":"y"]:C,[g?"height":"width"]:(g?b:y)-v,[g?"width":"height"]:Math.abs(C-(g?y:b)),rx:j};return{innerDimensions:k,outerDimensions:{x:k.x-6,y:k.y-6,width:k.width+12,height:k.height+12,rx:j+3}}},OV=e=>{let{yBaseline:t,barCount:n,flipAxes:r}=e;return{containerVariants:{hidden:{},show:{transition:{staggerChildren:.4/n}}},itemVariants:{hidden:{[r?"originX":"originY"]:"0%",[r?"scaleX":"scaleY"]:1e-4,[r?"translateX":"translateY"]:t},show:{[r?"scaleX":"scaleY"]:1,[r?"translateX":"translateY"]:0,transition:fw}}}},OF=e=>{let{yBaseline:t,barCount:n,flipAxes:r,children:i}=e,{containerVariants:o}=(0,O.useMemo)(()=>OV({yBaseline:t,barCount:n,flipAxes:r}),[n,r,t]);return(0,g.jsx)(eh.P.g,{variants:o,initial:"hidden",animate:"show",transition:fA,children:i})},OB=e=>{let t=Math.ceil(e.length/10);return(0,P.A)(e,t)},OR=e=>{let{yBaseline:t,barCount:n,flipAxes:r,children:i}=e,{itemVariants:o}=(0,O.useMemo)(()=>OV({yBaseline:t,barCount:n,flipAxes:r}),[n,r,t]);return(0,g.jsx)(eh.P.g,{variants:o,children:i})},Oz=e=>{let{observations:t,xBandwidth:n,yOrigin:r,getXPosition:i,getYPosition:o,getColor:l,flipAxes:a}=e,s=(0,O.useMemo)(()=>t.reduce((e,l,s)=>{let u=i(l),c=o(l),d=(e,t)=>a?"".concat(t,",").concat(e):"".concat(e,",").concat(t),p="".concat(d(u,c)," ").concat(d(u+n,c));return 0===s?"".concat(d(u,r)," ").concat(p):s===t.length-1?e+" ".concat(p," ").concat(d(u+n,r)):e+" ".concat(p)},""),[a,i,o,t,n,r]);return t[0]?(0,g.jsx)("polygon",{points:s,fill:l(t[0]),fillOpacity:.2}):null},OY=(0,O.memo)(e=>{let{x:t,group:n=[],shouldShowDropoff:r,plotEffect:i,backgroundColor:o}=e,l=(0,O.useId)(),{getColor:a,getAlpha:s,getFillType:u}=xg(),{getXPosition:c,xBandwidth:d,getYPosition:p,yOrigin:h,flipAxes:f}=kH(),{visibleObservations:m}=Sd(),{isBarDimmed:y}=yn(),{partitionsMap:x,partitionKeys:b}=(0,O.useMemo)(()=>ym({observations:m,group:n}),[n,m]),{getBarGroupXPosition:C,barGroupXBandwidth:v}=(0,O.useMemo)(()=>xc({barGroupKeys:b,xBandwidth:null!=d?d:0}),[b,d]),A=(0,O.useMemo)(()=>b.flatMap(e=>{var t;return null!=(t=x.get(e))?t:[]}),[b,x]),w=(0,O.useMemo)(()=>{let e=b.flatMap((e,n)=>{var r;return(null!=(r=x.get(e))?r:[]).map(r=>{let i=c(r)+C(e),l=p(r),d=a(r),m=u(r),x=s(r),b=y(r);return{itemKey:"".concat(String(r[t]),"-").concat(String(e),"-").concat(n,"}"),xPosition:i,geom:(0,g.jsx)(k3,{flipAxes:f,bandwidth:v,position:i,end:l,start:null!=h?h:0,fill:d,fillType:m,opacity:x,isDimmed:b,backgroundColor:o})}})});return OB((0,j.A)(e,["xPosition"],["asc"]))},[o,v,f,s,C,a,u,c,p,y,b,x,t,h]);return(0,g.jsxs)(g.Fragment,{children:[r&&(0,g.jsx)(Oz,{observations:A,xBandwidth:null!=v?v:0,yOrigin:null!=h?h:0,getXPosition:c,getYPosition:p,getColor:a,flipAxes:f}),"neon"===i&&w.flat().length<=100&&(0,g.jsx)(k9,{shapeId:l,blur:7,opacity:.75}),(0,g.jsx)("g",{id:l,children:(0,g.jsx)(OF,{yBaseline:null!=h?h:0,barCount:w.length,flipAxes:f,children:w.map((e,t)=>(0,g.jsx)(OR,{yBaseline:null!=h?h:0,barCount:w.length,flipAxes:f,children:e.map((e,t)=>{let{geom:n,itemKey:r}=e;return(0,g.jsx)(O.Fragment,{children:n},"".concat(r,"-").concat(t))})},t))})}),(0,g.jsx)(OI,{yOrigin:null!=h?h:0,bandwidth:v,flipAxes:f})]})}),OG=(e,t)=>m_(t)&&["barStacked","columnStacked","barStackedFill","columnStackedFill","mekko"].includes(e),OW=e=>{let{observation:t,group:n}=e;return n[1]?mJ(t[n[1].variableKey]):null},OU=e=>{var t;let{zippedStack:n,x:r,yScale:i,group:o}=e,l=n.filter(Boolean),a=(e=>t=>"ticks"in e?e((0,es.A)(t,e=>(null==e?void 0:e.yLowerValue)||0)||0):0)(i)(l),s=(e=>t=>"ticks"in e?e((0,ea.A)(t,e=>(null==e?void 0:e.yUpperValue)||0)||0):0)(i)(l),u=null==(t=l[0])?void 0:t.observation;return{stack:l,stackBottomEdge:a,stackTopEdge:s,stackHeight:a-s,xValue:u[r],groupValues:yf({observation:u,group:o}),firstObservation:u}},ON=e=>{let{xPosition:t,bandwidth:n,stack:r,y:i,yScale:o,flipAxes:l}=e,{values:a}=fN(),s=(0,ef.K)();if(!("ticks"in o)||r.length>20)return null;let u=(e=>{let{stack:t,y:n}=e;return(0,j.A)(t,["yLowerValue",e=>{let{observation:t}=e,r=t[n];return null===r?0:gY(r)}],["desc","desc"])})({stack:r,y:i});return(0,g.jsx)(g.Fragment,{children:u.map((e,r)=>{var i;let{yLowerValue:c}=e;if(r===u.length-1)return null;let d=o(c),p=null==(i=u[r+1])?void 0:i.yLowerValue;return void 0!==p&&3>Math.abs(d-o(p))?null:(0,g.jsx)(eh.P.line,{initial:!1,animate:{[l?"y1":"x1"]:t,[l?"x1":"y1"]:d,[l?"y2":"x2"]:t+n,[l?"x2":"y2"]:d},transition:s?{duration:0}:fA,strokeWidth:1,stroke:a.grey100},r)})})},OK=(0,O.memo)(e=>{let{vizType:t,x:n,y:r,group:i,secondaryAxisLineKey:o=null,plotEffect:l,backgroundColor:a}=e,s=(0,O.useId)(),u=(0,O.useId)(),{getColor:c,getAlpha:d,getFillType:p}=xg(),{getXPosition:h,xBandwidth:f,yScale:m,yOrigin:y,flipAxes:x}=kH(),{visibleObservations:b}=Sd(),{isBarDimmed:C}=yn(),{zippedStackedData:v,barGroupKeys:j}=(0,O.useMemo)(()=>{let e=yc({vizType:t,observations:b,x:n,y:r,group:i,skip:e=>e===o});return Object.assign(Object.assign({},e),{zippedStackedData:yg(e)})},[b,i,t,o,n,r]),{getBarGroupXPosition:A,barGroupXBandwidth:w}=(0,O.useMemo)(()=>xc({barGroupKeys:j,xBandwidth:null!=f?f:0}),[j,f]),k=(0,O.useMemo)(()=>{if(!("ticks"in m))return[];let e=[];for(let[t,o]of v.entries()){let{stackBottomEdge:l,stackTopEdge:u,firstObservation:f,stack:y}=OU({zippedStack:o,x:n,yScale:m,group:i}),b=OW({observation:f,group:i}),v=A(b),j="".concat(s,"-clip-path-").concat(b,"-").concat(t);e.push({geom:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:j,children:(0,g.jsx)(k3,{flipAxes:x,bandwidth:w,position:h(f)+v,start:l,end:u,backgroundColor:a})})}),(0,g.jsx)("g",{clipPath:"url(#".concat(j,")"),children:y.map((e,t)=>{if(!e)return null;let{observation:n,yUpperValue:i,yLowerValue:o}=e;if(null===n[r])return null;let l=h(n)+v,s=c(n),u=p(n),f=d(n),y=C(n);return(0,g.jsx)(k3,{flipAxes:x,bandwidth:w,position:l,end:m(i),start:m(o),fill:s,fillType:u,opacity:f,roundCorners:!1,isDimmed:y,backgroundColor:a},t)})}),(0,g.jsx)(ON,{xPosition:h(f)+v,bandwidth:w,stack:y,y:r,yScale:m,flipAxes:x})]})})}return OB(e)},[a,w,x,d,A,c,p,h,i,C,s,n,r,m,v]);return(0,g.jsxs)(g.Fragment,{children:["neon"===l&&v.flat().length<=100&&(0,g.jsx)(k9,{shapeId:u,blur:7,opacity:.75}),(0,g.jsx)("g",{id:u,children:(0,g.jsx)(OF,{yBaseline:null!=y?y:0,barCount:v.length,flipAxes:x,children:k.map((e,t)=>(0,g.jsx)(OR,{yBaseline:null!=y?y:0,barCount:v.length,flipAxes:x,children:e.map((e,n)=>{let{geom:r}=e;return(0,g.jsx)(O.Fragment,{children:r},"".concat(t,"-").concat(n))})},t))})}),(0,g.jsx)(OI,{yOrigin:null!=y?y:0,bandwidth:w,flipAxes:x})]})}),OZ=(0,O.memo)(e=>{var{vizType:t,group:n}=e,r=sk(e,["vizType","group"]);let{flipAxes:i}=kH();return(0,g.jsxs)(O.Fragment,{children:[(0,g.jsx)(k2,{}),OG(t,n)?(0,g.jsx)(OK,Object.assign({},r,{vizType:t,group:n})):(0,g.jsx)(OY,Object.assign({},r,{vizType:t,group:n}))]},String(i))}),OX=e=>{let{data:t,x:n,y:r,group:i,cluster:o,relatedX:l,getDataPointId:a,percentageValueStrategy:s="divide-by-total"}=e,{getColor:u,getAlpha:c,getFillType:d}=xg(),{yScale:p,flipAxes:h}=kH(),g=(0,O.useCallback)(e=>{var f;let{observation:m,previousObservation:y,getDataPointXPosition:x,getDataPointYPosition:b,getX0Position:C,getX1Position:v,getY0Position:j,getY1Position:A,getStackValues:w,stackType:k}=e,S=m[n],P=m[r],L=null!=(f=w(m))?f:t.getValues(r),M="ticks"in p&&dL(t.getType(r))?yM({strategy:s,values:L,absoluteValue:P}):null,O=l?m[l]:void 0,T=a(m),D=yf({observation:m,group:i}),I=x(m),E=b(m),H=u(m),V=d(m),F=c(m),B=yj(o)?yv({observation:m,cluster:o}):null,R=y?g({observation:y,getDataPointXPosition:x,getDataPointYPosition:b,getX0Position:C,getX1Position:v,getY0Position:j,getY1Position:A,getStackValues:w,stackType:k}):void 0,z=C(m),Y=v(m),G=j(m),W=A(m);return Object.assign({type:"bar",stackType:k,id:T,xValue:S,yValue:P,percentage:M,relatedXValue:O,groupValues:D,clusterValues:B,vizColor:H,fillOpacity:F,fillType:V,previousDataPoint:R,flipAxes:h,observation:m},h?{xPosition:E,yPosition:I,x0:W,y0:z,x1:G,y1:Y}:{xPosition:I,yPosition:E,x0:z,y0:G,x1:Y,y1:W})},[n,r,t,p,s,l,a,i,u,d,c,o,h]);return g},O_=(0,O.memo)(e=>{let{partitionsMap:t,barGroupKeys:n,plotEffect:r,backgroundColor:i}=e,o=(0,O.useId)(),{getColor:l,getAlpha:a,getFillType:s}=xg(),{getXPosition:u,xBandwidth:c,getYPosition:d,yOrigin:p,flipAxes:h}=kH(),{isBarDimmed:f}=yn(),{getBarGroupXPosition:m,barGroupXBandwidth:y}=(0,O.useMemo)(()=>xc({barGroupKeys:n,xBandwidth:null!=c?c:0}),[n,c]),x=(0,O.useMemo)(()=>{let e=n.flatMap(e=>{var n;return(null!=(n=t.get(e))?n:[]).map(t=>{let n=u(t)+m(e),r=d(t),o=l(t),c=s(t),x=a(t),b=f(t);return{itemKey:"".concat(e,"-").concat(n,"-").concat(o,"}"),xPosition:n,geom:(0,g.jsx)(k3,{flipAxes:h,bandwidth:y,position:n,end:r,start:null!=p?p:0,fill:o,fillType:c,opacity:x,isDimmed:b,backgroundColor:i})}})});return OB((0,j.A)(e,["xPosition"],["asc"]))},[n,y,h,a,m,l,s,u,d,f,t,p,i]);return(0,g.jsxs)(g.Fragment,{children:["neon"===r&&x.flat().length<=100&&(0,g.jsx)(k9,{shapeId:o,blur:7,opacity:.75}),(0,g.jsx)("g",{id:o,children:(0,g.jsx)(OF,{yBaseline:null!=p?p:0,barCount:x.length,flipAxes:h,children:x.map((e,t)=>(0,g.jsx)(OR,{yBaseline:null!=p?p:0,barCount:x.length,flipAxes:h,children:e.map((e,t)=>{let{geom:n,itemKey:r}=e;return(0,g.jsx)(O.Fragment,{children:n},"".concat(r,"-").concat(t))})},t))})}),(0,g.jsx)(OI,{yOrigin:null!=p?p:0,bandwidth:y,filter:e=>((e,t)=>void 0===e.groupValues[0]||null===e.groupValues[0]||t.includes(mJ(e.groupValues[0])))(e,n),flipAxes:h})]})}),OQ=(0,O.memo)(e=>{let{observations:t,yAxisScale:n,plotEffect:r,backgroundColor:i,lineThickness:o,lineGenerator:l,showPoints:a}=e,{getColor:s,getLineType:u}=xg(),{isLineDimmed:c}=yn(),[d]=t,p=c(d),h=s(d);return(0,g.jsx)(Sn,{observations:t,lineGenerator:l,color:h,lineType:u(d),effect:r,lineThickness:o,yAxisScale:n,backgroundColor:i,isDimmed:p,showPoints:a,role:"graphics-symbol img","aria-roledescription":"line","aria-label":"Line"})}),OJ=(0,O.memo)(e=>{let{partitionsMap:t,partitionKeys:n,yAxisScale:r,curveType:i,plotEffect:o,highlightStyle:l,backgroundColor:a,lineThickness:s,showPoints:u,x:c,y:d}=e,p=(0,O.useId)(),{getXPosition:h,xBandwidth:f,getYPosition:m,getSecondaryYPosition:y,flipAxes:x}=kH(),{isSeriesHighlighted:b}=yn(),C="primary"===r?m:y,v=(0,O.useMemo)(()=>OL({x:c,y:d,getXPosition:h,xBandwidth:f,getYPosition:C,curveType:i,flipAxes:x}),[i,x,h,C,c,f,d]),j=yY({partitionKeys:n,partitionsMap:t,isSeriesHighlighted:b});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(OO,{plotId:p}),"primary"===r&&(0,g.jsx)(Ow,{}),(0,g.jsx)("g",{clipPath:"url(#".concat(OM(p),")"),children:j.map(e=>{let n=t.get(e);return!function(e){return!!(e&&e.length>0)}(n)?null:(0,g.jsx)(OQ,{observations:n,yAxisScale:r,plotEffect:o,backgroundColor:a,lineThickness:s,lineGenerator:v,showPoints:u},e)})}),(0,g.jsx)(Oj,{highlightStyle:l,lineThickness:s})]})}),Oq=e=>{let{x:t,y:n,group:r,secondaryAxisLineKey:i,plotEffect:o,backgroundColor:l}=e;return(0,g.jsx)(OK,{vizType:"columnStacked",x:t,y:n,group:r,secondaryAxisLineKey:i,plotEffect:o,backgroundColor:l})},O$=(0,O.memo)(e=>{let{data:t,curveType:n="catmull-rom",plotEffect:r,x:i,y:o,group:l=[],highlightStyle:a,backgroundColor:s,lineThickness:u,comboPlotAxisCount:c,showPoints:d}=e,{flipAxes:p}=kH(),{visibleObservations:h}=Sd(),f=gh(e=>e.computedConfig.comboPlotType),m=(0,O.useMemo)(()=>ym({observations:[...t],group:l}),[t,l]),y=(0,O.useMemo)(()=>ym({observations:h,group:l}),[h,l]),{primaryGeomKeys:x,secondaryGeomKey:b}=yS(m.partitionKeys,c),C=(0,O.useMemo)(()=>b?x.filter(e=>y.partitionKeys.includes(e)):y.partitionKeys,[x,b,y.partitionKeys]);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(k2,{}),"grouped-bars"===f&&(0,g.jsx)(O_,{plotEffect:r,partitionsMap:y.partitionsMap,barGroupKeys:C,backgroundColor:s},String(p)),"lines"===f&&(0,g.jsx)(OJ,{yAxisScale:"primary",curveType:n,plotEffect:r,highlightStyle:a,backgroundColor:s,lineThickness:u,partitionsMap:y.partitionsMap,partitionKeys:x,showPoints:d,x:i,y:o}),m_(l)&&"stacked-bars"===f&&(0,g.jsx)(Oq,{plotEffect:r,backgroundColor:s,x:i,y:o,group:l,secondaryAxisLineKey:b},String(p)),null!==b&&(0,g.jsx)(OJ,{yAxisScale:"single"===c?"primary":"secondary",curveType:n,plotEffect:r,highlightStyle:a,backgroundColor:s,lineThickness:u,partitionsMap:y.partitionsMap,partitionKeys:[b],showPoints:d,x:i,y:o})]})}),O1=e=>{let{observations:t,value:n}=e;return(0,O.useMemo)(()=>(0,ei.A)().value(e=>{let t=e[n];return null===t?0:gY(t)}).sort(null)(t),[t,n])},O0=(0,O.memo)(e=>{let{vizType:t,plotEffect:n,value:r,backgroundColor:i}=e,o=(0,O.useId)(),l="translate(".concat(Sb("pieCenterX")," ").concat(Sb("pieCenterY"),")"),{getColor:a,getFillType:s}=xg(),{isHighlighted:u}=yn(),{visibleObservations:c}=Sd(),d=O1({observations:c,value:r});return(0,g.jsxs)(O.Fragment,{children:["neon"===n&&d.length<=100&&(0,g.jsx)(k9,{shapeId:o,blur:10,opacity:.75}),(0,g.jsx)("g",{id:o,transform:l,children:d.map((e,n)=>{let r=u(e.data);return(0,g.jsx)(Sj,{arc:e,appearance:t,isDimmed:!1===r,fillColor:a(e.data),fillType:s(e.data),backgroundColor:i},n)})}),(0,g.jsx)(k2,{})]},t)}),O2={type:"spring",bounce:0,duration:.15},O5={type:"spring",bounce:0,duration:.3},O3=O.memo(function(e){let{xPosition:t,yPosition:n,width:r,height:i,fill:o,fillOpacity:l,isHovered:a=!1,flipAxes:s}=e,u=O7({xPosition:t,yPosition:n,width:r,height:i,isHovered:a,flipAxes:s});return u.width<0||u.height<0?null:(0,g.jsx)(eh.P.rect,{initial:!1,animate:Object.assign(Object.assign({},u),{fillOpacity:l}),transition:a?O2:O5,fill:o,rx:8,role:"graphics-symbol img","aria-roledescription":"tile","aria-label":"Tile"})}),O7=e=>{let{xPosition:t,yPosition:n,width:r,height:i,isHovered:o,flipAxes:l}=e,a=.05*(l?r:i),s=.03*(l?i:r),u=.5*a,c=.5*s,d={[l?"y":"x"]:t-r/2+s,[l?"x":"y"]:n-i/2+a,[l?"height":"width"]:r-2*s,[l?"width":"height"]:i-2*a};return o&&(d={x:d.x-c,y:d.y-u,width:d.width+2*c,height:d.height+2*u}),d},O9=e=>{let{observation:t,alpha:n}=e,{values:r}=fN(),{getColor:i,getAlpha:o}=xg(),{getXPosition:l,xBandwidth:a,getYPosition:s,yBandwidth:u,flipAxes:c}=kH(),d=n&&null!==t[n],p=l(t)+(null!=a?a:0)/2,h=s(t)+(null!=u?u:0)/2,f=null!=a?a:0,m=null!=u?u:0,y=d?i(t):r.heatmapEmptyTileBackground,x=d?o(t):1,[b]=Ov("tile"),C=(0,O.useMemo)(()=>void 0!==b&&b.xPosition===p&&b.yPosition===h,[b,p,h]);return(0,g.jsx)(O3,{fill:y,fillOpacity:x,xPosition:p,yPosition:h,width:f,height:m,isHovered:C,flipAxes:c},JSON.stringify(t))},O4=(0,O.memo)(e=>{let{data:t,alpha:n,plotEffect:r}=e,i=(0,O.useId)(),{flipAxes:o}=kH(),l=[...t];return(0,g.jsxs)(g.Fragment,{children:["neon"===r&&l.length<=100&&(0,g.jsx)(k9,{shapeId:i,blur:5,opacity:.75}),(0,g.jsx)(eh.P.g,{id:i,initial:{opacity:0},animate:{opacity:1},transition:fA,children:l.map((e,t)=>(0,g.jsx)(O.Fragment,{children:(0,g.jsx)(O9,{observation:e,alpha:n})},String(t)))},String(o))]})}),O6=(e,t,n)=>{if(![...cJ,...cq].includes(e)||!(null==n?void 0:n.length))return!1;let{partitionKeys:r}=ym({observations:[...t],group:n});return 1===r.length},O8=e=>{let{vizType:t,comboPlotType:n,index:r,count:i}=e;switch(t){case"line":case"areaStacked":return"line";case"heatmap":case"mekko":return"tile";case"scatter":case"bubble":return"point";case"combo":return i>=2&&r===i-1||"lines"===n?"line":"bar";case"pie":case"donut":return t;default:return"bar"}},Te=e=>{let{vizType:t,data:n,group:r,comboPlotType:i,formatSeriesLabel:o}=e,{partitionKeys:l}=ym({observations:[...n],group:r});return l.map((e,n)=>({seriesKey:e,formattedLabel:o(m$(e),e).plain,symbol:O8({vizType:t,comboPlotType:i,index:n,count:l.length})}))},Tt=e=>{let{vizType:t,data:n,group:r,formatSeriesLabel:i}=e,{partitionKeys:o}=ym({observations:[...n],group:r});return o.map((e,n)=>({seriesKey:e,formattedLabel:i(m$(e),e).plain,symbol:O8({vizType:t,index:n,count:o.length})}))},Tn={top:["bar","barStacked","barStackedFill","column","columnStacked","columnStackedFill","combo","line","areaStacked","pie","mekko","scatter"],right:["line","areaStacked","pie","donut","mekko","columnStacked","columnStackedFill"],none:["pie","donut","scatter","bubble"]},Tr=e=>{let{vizType:t,legendItems:n,isAnyLineHighlighted:r,isAnyStackHighlighted:i,isSingleSeriesBar:o}=e,l=n.length>=3;switch(t){case"waterfall":return"none";case"line":case"areaStacked":return n.length<=1?"none":l||r?"right":"top";case"columnStacked":case"columnStackedFill":return l||i?"right":"top";case"bar":case"barStacked":case"barStackedFill":case"column":return o?"none":"top";case"pie":case"donut":return n.length<=1?"none":"top";default:return"top"}},Ti=e=>{let{vizType:t,legendItems:n,isAnyLineHighlighted:r,isSingleSeriesBar:i}=e;if(r)return[];let o=[];return Tn.top.includes(t)&&o.push("top"),Tn.right.includes(t)&&o.push("right"),(Tn.none.includes(t)||1===n.length)&&o.push("none"),["bar","barStacked","barStackedFill","column","columnStacked","columnStackedFill"].includes(t)&&i&&!o.includes("none")&&o.push("none"),o},To=(0,O.createContext)(null),Tl=ua(To,"LegendProvider"),Ta=e=>{let{data:t,group:n,label:r,formatSeriesLabel:i,customLegendPosition:o,children:l}=e,{_setLegendItems:a,_setDefaultLegendPosition:s,_setAvailableLegendPositions:u}=kB(),c=gh(e=>e.computedConfig.comboPlotType),{isAnyLineHighlighted:d,isAnyStackHighlighted:p}=yn(),h=gh(e=>e.computedConfig),f=(0,O.useMemo)(()=>O6(h.type,t,n),[h.type,t,n]),m=[...cJ,...cq,"line","areaStacked","combo"].includes(h.type)?h:void 0,y=(0,O.useMemo)(()=>(e=>{let{vizType:t,comboPlotType:n,data:r,group:i=[],label:o,formatSeriesLabel:l=sQ,xAxisProperties:a}=e;return"funnel"===t?Te({vizType:t,data:r,group:i,comboPlotType:n,formatSeriesLabel:l}):[...cJ,...cq].includes(t)?(e=>{var t,n;let{vizType:r,data:i,group:o,formatSeriesLabel:l,xAxisProperties:a}=e,s=null==(n=null==(t=null==a?void 0:a[0])?void 0:t.dataType)?void 0:n.type;return s&&(dS(s)||dL(s))?Tt({vizType:r,data:i,group:o,formatSeriesLabel:l}):O6(r,i,o)?(e=>{var t;let{vizType:n,data:r,formatSeriesLabel:i,xAxisProperties:o}=e,l=null==(t=null==o?void 0:o[0])?void 0:t.key;if(!l)return[];let a=new Set;for(let e of r){let t=e[l];t&&cD(t)&&("string"==typeof t||"number"==typeof t||"boolean"==typeof t)&&a.add(t)}let s=[...a];return s.map((e,t)=>({seriesKey:mJ(e),formattedLabel:i(String(e),mJ(e)).plain,symbol:O8({vizType:n,index:t,count:s.length})}))})({vizType:r,data:i,formatSeriesLabel:l,xAxisProperties:a}):Tt({vizType:r,data:i,group:o,formatSeriesLabel:l})})({vizType:t,data:r,group:i,formatSeriesLabel:l,xAxisProperties:a}):["line","areaStacked","scatter","mekko","bubble","combo"].includes(t)?Te({vizType:t,data:r,group:i,comboPlotType:n,formatSeriesLabel:l}):c1.includes(t)?(e=>{let{vizType:t,data:n,label:r,formatSeriesLabel:i}=e;if(!r)return[];let o=[...n].map(e=>e[r]).filter(e=>null!==e).map(gz).map(e=>({seriesKey:null,formattedLabel:i(e,mJ(e)).plain}));return o.map((e,n)=>Object.assign(Object.assign({},e),{symbol:O8({vizType:t,index:n,count:o.length})}))})({vizType:t,data:r,label:o,formatSeriesLabel:l}):[]})({vizType:h.type,comboPlotType:c,label:r,formatSeriesLabel:i,xAxisProperties:null==m?void 0:m.xAxisProperties,data:t,group:n}),[h.type,c,r,i,null==m?void 0:m.xAxisProperties,t,n]),x=(0,O.useMemo)(()=>(e=>{let{vizType:t,customLegendPosition:n,legendItems:r,isAnyLineHighlighted:i,isAnyStackHighlighted:o,isSingleSeriesBar:l}=e,a=Ti({vizType:t,legendItems:r,isAnyLineHighlighted:i,isSingleSeriesBar:l});return n&&a.includes(n)?n:Tr({vizType:t,legendItems:r,isAnyLineHighlighted:i,isAnyStackHighlighted:o,isSingleSeriesBar:l})})({vizType:h.type,customLegendPosition:o,legendItems:y,isAnyLineHighlighted:d,isAnyStackHighlighted:p,isSingleSeriesBar:f}),[h.type,o,y,d,p,f]);(0,O.useEffect)(()=>{a(y)},[a,y]),(0,O.useEffect)(()=>{s(Tr({vizType:h.type,legendItems:y,isAnyLineHighlighted:d,isAnyStackHighlighted:p,isSingleSeriesBar:f}))},[s,h.type,d,p,y,f]),(0,O.useEffect)(()=>{u(Ti({vizType:h.type,legendItems:y,isAnyLineHighlighted:d,isSingleSeriesBar:f}))},[h.type,d,y,u,f]);let b=(0,O.useMemo)(()=>({legendPosition:x}),[x]);return(0,g.jsx)(To.Provider,{value:b,children:l})},Ts=e=>{let{y:t,series:n,getYPosition:r}=e;if(!t)return null;for(let e of[...n].reverse())if(null!==e[t])return r(e);return null},Tu=(0,O.createContext)(null),Tc=ua(Tu,"SeriesLabelsProvider"),Td=e=>{let{data:t,x:n,y:r,group:i,formatLabel:o,children:l}=e,a=gh(e=>e.computedConfig.type),{legendPosition:s}=Tl(),{getColor:u}=xg(),{yScale:c,getYPosition:d,yStackScale:p}=kH(),{isSeriesHighlighted:h,isLineDimmed:f,isGroupHighlighted:m,isAnyLineHighlighted:y}=yn(),x=(0,O.useMemo)(()=>({seriesLabels:(e=>{let{vizType:t,data:n,x:r,y:i,yScale:o,yStackScale:l,group:a,formatLabel:s=sQ,isLineHighlighted:u,isLineDimmed:c,isAnyLineHighlighted:d,isGroupHighlighted:p,getYPosition:h,getColor:g,legendPosition:f}=e;return["line","areaStacked"].includes(t)&&"right"===f?(e=>{let{data:t,y:n,group:r,formatLabel:i=sQ,isLineHighlighted:o,isLineDimmed:l,getYPosition:a,getColor:s,isAnyLineHighlighted:u}=e,c=[],{partitionKeys:d,partitionsMap:p}=ym({observations:[...t],group:r});for(let{series:e,seriesKey:t}of d.reduce((e,t)=>{let n=p.get(t);if(!n||0===n.length)return e;let r=n[0];return r&&(o(r)||d.length<=10||!u)&&e.push({series:n,seriesKey:t}),e},[])){let r=e.at(-1),o=Ts({y:n,series:e,getYPosition:a});r&&null!==o&&c.push({seriesKey:t,position:o,label:i(m$(t),t),color:s(r),isDimmed:l(r)})}return c})({data:n,y:i,group:a,formatLabel:s,isLineHighlighted:u,isLineDimmed:c,getYPosition:h,getColor:g,isAnyLineHighlighted:d}):["mekko","barStacked","columnStacked","barStackedFill","columnStackedFill"].includes(t)&&"right"===f?(e=>{let{vizType:t,data:n,x:r,y:i,yScale:o,group:l,formatLabel:a=sQ,getColor:s,isGroupHighlighted:u}=e;if(!(r&&i&&m_(l)&&"ticks"in o))return[];let c=[],{stackedData:d}=yc({vizType:t,observations:[...n],x:r,y:i,group:l});for(let e of d)for(let t of[...e].reverse()){if(!t)continue;let{seriesKey:e,yLowerValue:n,yUpperValue:r,observation:i}=t;if(n===r)continue;let l=o((n+r)/2);c.push({seriesKey:e,position:l,label:a(m$(e),e),color:s(i),isDimmed:!1===u(i)});break}return c})({vizType:t,data:n,x:r,y:i,yScale:"mekko"===t?l:o,group:a,formatLabel:s,getColor:g,isGroupHighlighted:p}):[]})({vizType:a,data:t,x:n,y:r,yScale:c,yStackScale:p,group:i,formatLabel:o,isLineHighlighted:h,isLineDimmed:f,isGroupHighlighted:m,getYPosition:d,getColor:u,legendPosition:s,isAnyLineHighlighted:y})}),[a,t,n,r,c,p,i,o,h,f,m,d,u,s,y]);return(0,g.jsx)(Tu.Provider,{value:x,children:l})},Tp=e=>{let{labelPosition:t,plotEdgePosition:n,color:r}=e,i=fY("isPlotMeasured"),o=Th(-4,n-t,9,0),l=yA(o,fA),a={fill:"none",stroke:r,strokeWidth:1,strokeDasharray:"2 2"};return i?(0,g.jsx)(eh.P.path,Object.assign({d:l},a)):(0,g.jsx)("path",Object.assign({d:o},a,{strokeOpacity:0}))},Th=(e,t,n,r)=>"M ".concat(e,",").concat(t," C ").concat((e+n)/2,",").concat(t," ").concat((e+n)/2,",").concat(r," ").concat(n,",").concat(r),Tg=h.I4.text(lo(),aK),Tf=()=>{let e=fY("isPlotMeasured"),t=fY("chartWidth"),n=xw("plotHeight"),r=fY("textScale"),{seriesLabels:i}=Tc(),{repelledLabels:o,hasOverlappingLabels:l}=(0,O.useMemo)(()=>(e=>{let{seriesLabels:t,plotHeight:n,textScale:r}=e,i=[...t].sort((e,t)=>e.position-t.position).map(e=>Object.assign(Object.assign({},e),{plotEdgePosition:e.position})),o=!1,l=!0,a=0;for(;l;){l=!1,a++;for(let e=0;eu){l=!0,o=!0;let e=(s-u)/2+1;t.position-=e,a.position+=e,t.position<0&&(t.position=0),a.position>n&&(a.position=n)}}if(a>100)break}return{repelledLabels:i.filter(e=>e.position>=0&&e.position<=n),hasOverlappingLabels:o}})({seriesLabels:i,plotHeight:n,textScale:r}),[i,n,r]),a=fN(),s=yu();return(0,g.jsx)(g.Fragment,{children:o.map(n=>{let{seriesKey:r,position:i,plotEdgePosition:o,label:u,color:c,isDimmed:d}=n,p=d?a.values.dimmedSeriesLabelTextColor:c,h=d?a.values.dimmedSeriesLabelLineColor:c,f=l?(0,g.jsx)(Tp,{labelPosition:i,plotEdgePosition:o,color:h}):null,m=yG({measureReactContent:s,text:u.plain,maxWidth:t/4,wrapper:Tg}),y=(0,g.jsxs)(Tg,{x:11*!!l,y:0,fill:p,textAnchor:"start",dominantBaseline:"middle",opacity:+!!e,children:[(0,g.jsx)("title",{children:u.plain}),m]});return e?(0,g.jsxs)(eh.P.g,{initial:{x:0,y:i,opacity:0},animate:{x:0,y:i,opacity:1},transition:fA,children:[f,y]},r):(0,g.jsxs)(O.Fragment,{children:[f,y]},r)})})},Tm=e=>{let{observations:t,backgroundColor:n,highlightStyle:r,pointSize:i}=e,o=fN(),{getColor:l}=xg(),{getYPosition:a,getXPosition:s,xBandwidth:u}=kH(),{isSeriesDimmed:c,isPointHighlighted:d}=yn(),[p]=t,h=(0,O.useMemo)(()=>{let e=l(p),t=yU({theme:o,color:e,isDimmed:!1,highlightStyle:r,backgroundColor:n}),i=yU({theme:o,color:e,isDimmed:!0,highlightStyle:r,backgroundColor:n});return{defaultFill:t,defaultStroke:ex.Ay.mix(o.values.grey0,t,.6).hex(),dimmedFill:i,dimmedStroke:ex.Ay.mix(o.values.grey0,i,.6).hex()}},[p,l,o,r,n]),f=u?u/2:0,m=c(p);return(0,g.jsx)("g",{children:t.map((e,t)=>{let r=m&&!d(e);return(0,g.jsx)(k8,{fill:r?h.dimmedFill:h.defaultFill,stroke:r?h.dimmedStroke:h.defaultStroke,crossPosition:a(e),mainPosition:s(e)+f,size:i,backgroundColor:n,includeOuterBorder:!0},t)})})},Ty=e=>{let{group:t,plotEffect:n,backgroundColor:r,highlightStyle:i,pointSize:o}=e,l=(0,O.useId)(),a=xw("plotWidth"),s=xw("plotHeight"),{visibleObservations:u}=Sd(),{partitionsMap:c,partitionKeys:d}=(0,O.useMemo)(()=>ym({observations:u,group:t}),[u,t]),p="number"==typeof o?o:(e=>{let{plotWidth:t,plotHeight:n,totalPoints:r}=e;return r<=0?2:2*Math.max(1,Math.min(Math.sqrt(t*n*.02/r/Math.PI),4))})({plotWidth:a,plotHeight:s,totalPoints:u.length});return(0,g.jsxs)(g.Fragment,{children:["neon"===n&&(0,g.jsx)(k9,{shapeId:l,blur:5,opacity:.75}),(0,g.jsx)("g",{id:l,children:d.map(e=>{let t=c.get(e)||[];return dC(t)?(0,g.jsx)(Tm,{observations:t,backgroundColor:r,highlightStyle:i,pointSize:p},e):null})})]})},Tx=e=>{let{observations:t,backgroundColor:n,highlightStyle:r}=e,i=fN(),{getColor:o}=xg(),{getYPosition:l,getXPosition:a,getSize:s,xBandwidth:u}=kH(),{computeBubbleSize:c}=SA(),{isSeriesDimmed:d,isPointHighlighted:p}=yn(),[h]=t,f=(0,O.useMemo)(()=>{let e=o(h),t=yU({theme:i,color:e,isDimmed:!1,highlightStyle:r,backgroundColor:n}),l=yU({theme:i,color:e,isDimmed:!0,highlightStyle:r,backgroundColor:n});return{defaultFill:t,defaultStroke:ex.Ay.mix(i.values.grey0,t,.6).hex(),dimmedFill:l,dimmedStroke:ex.Ay.mix(i.values.grey0,l,.6).hex()}},[h,o,i,r,n]),m=u?u/2:0,y=d(h);return(0,g.jsx)("g",{children:t.map((e,t)=>{let r=y&&!p(e),i=s(e);return(0,g.jsx)(k8,{strokeWidth:1.5,fill:r?f.dimmedFill:f.defaultFill,stroke:r?f.dimmedStroke:f.defaultStroke,size:c(i),opacity:.5,crossPosition:l(e),mainPosition:a(e)+m,backgroundColor:n},t)})})},Tb=e=>{let{group:t,plotEffect:n,backgroundColor:r,highlightStyle:i}=e,o=(0,O.useId)(),{visibleObservations:l}=Sd(),{partitionsMap:a,partitionKeys:s}=(0,O.useMemo)(()=>ym({observations:l,group:t}),[l,t]);return(0,g.jsxs)(g.Fragment,{children:["neon"===n&&(0,g.jsx)(k9,{shapeId:o,blur:5,opacity:.75}),(0,g.jsx)("g",{id:o,children:s.map(e=>{let t=a.get(e)||[];return dC(t)?(0,g.jsx)(Tx,{observations:t,backgroundColor:r,highlightStyle:i},e):null})})]})},TC=(0,O.memo)(e=>{let{x:t,plotEffect:n,backgroundColor:r}=e,i=(0,O.useId)(),{values:o}=fN(),{getColor:a,getFillType:s}=xg(),{getXPosition:u,xBandwidth:c,yOrigin:d,getYStartPosition:p,getYEndPosition:h,xStep:f}=kH(),{visibleObservations:m}=Sd(),{isBarDimmed:y}=yn(),x=(null!=f?f:0)-(null!=c?c:0),b=(0,O.useMemo)(()=>OB(m.map((e,n)=>{let i=u(e),d=p(e),f=h(e),b=a(e),C=s(e),v=y(e),j="".concat(String(e[t]),"-").concat(n),A=n===m.length-1;return{itemKey:j,geom:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(k3,{flipAxes:!1,bandwidth:null!=c?c:0,position:i,start:d,end:f,fill:b,fillType:C,isDimmed:v,backgroundColor:r}),!A&&(0,g.jsx)(Ss,{ruleStyle:"dashed",orientation:l.X,origin:i+(null!=c?c:0),crossOrigin:f,end:i+(null!=c?c:0)+x,stroke:o.targetLineColor})]})}})),[r,x,a,s,u,h,p,y,m,o.targetLineColor,t,c]);return(0,g.jsxs)(g.Fragment,{children:["neon"===n&&b.flat().length<=100&&(0,g.jsx)(k9,{shapeId:i,blur:7,opacity:.75}),(0,g.jsx)("g",{id:i,children:(0,g.jsx)(OF,{yBaseline:null!=d?d:0,barCount:b.length,children:b.map((e,t)=>(0,g.jsx)(OR,{yBaseline:null!=d?d:0,barCount:b.length,children:e.map(e=>{let{geom:t,itemKey:n}=e;return(0,g.jsx)(O.Fragment,{children:t},n)})},t))})}),(0,g.jsx)(OI,{yOrigin:null!=d?d:0,bandwidth:null!=c?c:0}),(0,g.jsx)(k2,{})]})}),Tv=()=>{let{hitboxes:e}=m2(),{isBarDimmed:t}=yn();return(0,g.jsx)(g.Fragment,{children:e.flatMap(e=>e.dataPoints).map(e=>m3(e)&&e.yValue?(0,g.jsx)(k3,{roundCorners:4,flipAxes:e.flipAxes,bandwidth:e.x1-e.x0-4,position:e.x0+2,start:e.y0,end:e.y1-4,fill:e.vizColor,isDimmed:t(e.observation)},e.id):null)})},Tj=e=>{let{vizType:t,children:n,addons:r=[],data:i,aestheticMappings:o,getDataPointId:l=OC,percentageValueStrategy:a,curveType:s,options:u}=e,c=gh(e=>e.computedConfig.comboPlotType),d=fY("isPlotMeasured"),{flipAxes:p}=kH(),{x:h,y:f,size:m,yValue:y,group:x,cluster:b,alpha:C,label:v}=o,j={vizType:t,data:i,x:h,y:f,yValue:y,group:x,cluster:b,alpha:C,getDataPointId:l},A=(e=>{let{vizType:t,data:n,x:r,y:i,group:o=[],cluster:l,relatedX:a,getDataPointId:s,percentageValueStrategy:u}=e,{getXPosition:c,xBandwidth:d,yScale:p,getYPosition:h,yOrigin:g}=kH(),{visibleObservations:f}=Sd(),m=OG(t,o),y=OX({data:n,x:r,y:i,group:o,cluster:l,relatedX:a,getDataPointId:s,percentageValueStrategy:u});return(0,O.useCallback)(()=>{let e,n=[],l=()=>null;if(m){let a=yc({vizType:t,observations:f,x:r,y:i,group:o}),s=yg(a);e=xc({barGroupKeys:a.barGroupKeys,xBandwidth:null!=d?d:0}),n=s.flatMap((e,t)=>e.filter(Boolean).map((e,n)=>{var r,i;let{observation:o,yUpperValue:l,yLowerValue:a}=e;return{observation:yF(o,l,a),previousObservation:null==(i=null==(r=s[t-1])?void 0:r[n])?void 0:i.observation}})),l=yI(r,i,o,s)}else{let{partitions:t,partitionKeys:r}=ym({observations:f,group:o});e=xc({barGroupKeys:r,xBandwidth:null!=d?d:0}),n=t.flatMap(e=>e.map((t,n)=>({observation:t,previousObservation:e[n-1]})))}let{getBarGroupXPosition:a,barGroupXBandwidth:s}=e;return n.map(e=>{let{observation:n,previousObservation:r}=e,u=yD(n[i]),d=m?OW({observation:n,group:o}):yy({observation:n,group:o});return y({observation:n,previousObservation:r,getDataPointXPosition:()=>c(n)+a(d)+s/2,getDataPointYPosition:()=>m&&"ticks"in p?p(n[u?yH:yV]):h(n),getX0Position:()=>c(n)+a(d),getX1Position:()=>c(n)+a(d)+s,getY0Position:()=>"ticks"in p?m?p(n[yH]):u?h(n):null!=g?g:0:0,getY1Position:()=>"ticks"in p?m?p(n[yV]):u?null!=g?g:0:h(n):0,getStackValues:l,stackType:(e=>["barStacked","columnStacked"].includes(e)?"stacked":["barStackedFill","columnStackedFill"].includes(e)?"stacked-fill":"none")(t)})})},[t,m,r,f,i,o,d,y,c,p,h,g])})(Object.assign(Object.assign({},j),{percentageValueStrategy:a})),w=(e=>{let{x:t,y:n,yValue:r,group:i=[],cluster:o,relatedX:l,getDataPointId:a,curveType:s}=e,{getXPosition:u,xBandwidth:c,getYPosition:d}=kH(),{visibleObservations:p}=Sd(),h=OD({x:t,y:n,yValue:r,group:i,cluster:o,relatedX:l,getDataPointId:a,curveType:s});return(0,O.useCallback)(()=>{let{partitions:e}=ym({observations:p,group:i});return e.flatMap(e=>e.map((t,n)=>h({observation:t,previousObservation:e[n-1],seriesObservations:e,getDataPointXPosition:()=>u(t)+(null!=c?c:0)/2,getDataPointYPosition:d})))},[p,h,u,d,i,c])})(Object.assign(Object.assign({},j),{curveType:s})),k=(e=>{let{vizType:t,data:n,x:r,y:i,yValue:o,group:l=[],cluster:a,relatedX:s,getDataPointId:u,curveType:c,comboPlotAxisCount:d}=e,{getXPosition:p,xBandwidth:h,getYPosition:g,getSecondaryYPosition:f,yScale:m,yOrigin:y}=kH(),{visibleObservations:x}=Sd(),b=OX({data:n,x:r,y:i,group:l,cluster:a,relatedX:s,getDataPointId:u}),C=OD({x:r,y:i,yValue:o,group:l,cluster:a,relatedX:s,getDataPointId:u,curveType:c});return(0,O.useCallback)(e=>{let{partitionsMap:n,partitionKeys:o}=ym({observations:x,group:l}),{primaryGeomKeys:a,secondaryGeomKey:s}=yS(o,d),u="stacked-bars"===e,c=(e,t,r)=>[...n.entries()].flatMap(n=>{let[i,o]=n;return e.includes(i)?o.map((e,n)=>C({observation:e,previousObservation:o[n-1],seriesObservations:o,getDataPointXPosition:()=>p(e)+(null!=h?h:0)/2,getDataPointYPosition:t,isSecondaryAxis:r})):[]}),v=s?c([s],"single"===d?g:f,"single"!==d):[];switch(e){case"grouped-bars":case"stacked-bars":return[...(e=>{let o,a=[],c=()=>null;if(u&&m_(l)){let e=yc({vizType:t,observations:x,x:r,y:i,group:l,skip:e=>e===s}),n=yg(e);o=xc({barGroupKeys:e.barGroupKeys,xBandwidth:null!=h?h:0}),a=n.flatMap((e,t)=>e.filter(Boolean).map((e,r)=>{var i,o;let{observation:l,yUpperValue:a,yLowerValue:s}=e;return{observation:yF(l,a,s),previousObservation:null==(o=null==(i=n[t-1])?void 0:i[r])?void 0:o.observation}})),c=yI(r,i,l,n)}else o=xc({barGroupKeys:e,xBandwidth:null!=h?h:0}),n.forEach((t,n)=>{e.includes(n)&&t.forEach((e,n)=>{a.push({observation:e,previousObservation:t[n-1]})})});let{getBarGroupXPosition:d,barGroupXBandwidth:f}=o;return a.map(e=>{let{observation:t,previousObservation:n}=e,r=yD(t[i]),o=u?OW({observation:t,group:l}):yy({observation:t,group:l});return b({observation:t,previousObservation:n,getDataPointXPosition:()=>p(t)+d(o)+f/2,getDataPointYPosition:()=>u&&"ticks"in m?m(t[r?yH:yV]):g(t),getX0Position:()=>p(t)+d(o),getX1Position:()=>p(t)+d(o)+f,getY0Position:()=>"ticks"in m?u?m(t[yH]):r?g(t):null!=y?y:0:0,getY1Position:()=>"ticks"in m?u?m(t[yV]):r?null!=y?y:0:g(t):0,getStackValues:c,stackType:u?"stacked":"none"})})})(a),...v];case"lines":return[...c(a,g,!1),...v]}},[t,x,l,d,r,i,h,b,p,m,g,y,C,f])})(Object.assign(Object.assign({},j),{curveType:s,comboPlotAxisCount:null==u?void 0:u.comboPlotAxisCount})),S=(e=>{let{data:t,x:n,y:r,alpha:i,getDataPointId:o,percentageValueStrategy:l="divide-by-max-value"}=e,{getColor:a,getAlpha:s,alphaValues:u}=xg(),{getXPosition:c,xBandwidth:d,getYPosition:p,yBandwidth:h,flipAxes:g}=kH();return(0,O.useCallback)(()=>[...t].map(e=>{let t=o(e),f=e[n],m=e[r],y=c(e)+(null!=d?d:0)/2,x=p(e)+(null!=h?h:0)/2,b=a(e),C=i?e[i]:null,v=s(e),j=yM({strategy:l,values:u,absoluteValue:C}),A=y-(null!=d?d:0)/2,w=x-(null!=h?h:0)/2,k=y+(null!=d?d:0)/2,S=x+(null!=h?h:0)/2;return Object.assign(Object.assign({type:"tile",id:t,xValue:f,yValue:m,vizColor:b,alphaValue:C,fillOpacity:v,percentage:j,flipAxes:g},g?{xPosition:x,yPosition:y,x0:w,y0:A,x1:S,y1:k}:{xPosition:y,yPosition:x,x0:A,y0:w,x1:k,y1:S}),{clusterValues:[],groupValues:[]})}),[i,u,t,g,s,a,o,c,p,l,n,d,r,h])})(Object.assign(Object.assign({},j),{percentageValueStrategy:a})),P=(e=>{let{x:t,yValue:n,label:r,group:i=[],cluster:o,getDataPointId:l}=e,{getColor:a}=xg(),{getXPosition:s,xBandwidth:u,getYPosition:c}=kH(),{visibleObservations:d}=Sd(),p=yj(o);return(0,O.useCallback)(()=>{let{partitions:e}=ym({observations:d,group:i}),h=u?u/2:0;return e.flatMap(e=>{let u=[];return e.forEach(e=>{u.push({type:"point",id:l(e),xValue:e[t],yValue:e[n],groupValues:yf({observation:e,group:i}),labelValue:r?e[r]:void 0,clusterValues:p?yv({observation:e,cluster:o}):null,vizColor:a(e),xPosition:s(e)+h,yPosition:c(e),observation:e,flipAxes:!1,percentage:null,partitionDataPoints:u})}),u})},[d,i,u,l,t,n,r,p,o,a,s,c])})(Object.assign(Object.assign({},j),{label:v})),L=(e=>{let{x:t,yValue:n,label:r,group:i=[],cluster:o,getDataPointId:l}=e,{getColor:a}=xg(),{getXPosition:s,xBandwidth:u,getYPosition:c,getSize:d}=kH(),{visibleObservations:p}=Sd(),h=yj(o);return(0,O.useCallback)(()=>{let{partitions:e}=ym({observations:p,group:i}),g=u?u/2:0;return e.flatMap(e=>{let u=[];return e.forEach(e=>{u.push({type:"point",id:l(e),xValue:e[t],yValue:e[n],groupValues:yf({observation:e,group:i}),labelValue:r?e[r]:void 0,clusterValues:h?yv({observation:e,cluster:o}):null,vizColor:a(e),xPosition:s(e)+g,yPosition:c(e),sizeValue:d(e),observation:e,flipAxes:!1,percentage:null,partitionDataPoints:u})}),u})},[p,i,u,l,t,n,r,h,o,a,s,c,d])})(Object.assign(Object.assign({},j),{label:v,size:m})),M=(e=>{let{x:t,y:n,getDataPointId:r}=e,{visibleObservations:i}=Sd(),o=(e=>{let{x:t,y:n,getDataPointId:r}=e,{getColor:i,getFillType:o,getAlpha:l}=xg(),{getXPosition:a,xBandwidth:s,getYStartPosition:u,getYEndPosition:c}=kH(),d=(0,O.useCallback)(e=>{let{observation:p,previousObservation:h}=e,g=p[t],f=p[n],m=r(p),y=i(p),x=l(p),b=o(p),C=xr in p?p[xr]:void 0,v=h?d({observation:h}):void 0,j=a(p)+(null!=s?s:0)/2,A=u(p),w=c(p);return{type:"bar",stackType:"none",id:m,xValue:null!=g?g:null,yValue:null!=f?f:null,percentage:null,relatedXValue:null,groupValues:[],clusterValues:null,vizColor:y,fillOpacity:x,fillType:b,previousDataPoint:v,flipAxes:!1,observation:p,xPosition:j,yPosition:(A+w)/2,x0:j-(null!=s?s:0)/2,x1:j+(null!=s?s:0)/2,y0:Math.min(A,w),y1:Math.max(A,w),waterfallType:C}},[l,i,r,o,a,c,u,t,s,n]);return d})({x:t,y:n,getDataPointId:r});return(0,O.useCallback)(()=>i.map((e,t)=>o({observation:e,previousObservation:t>0?i[0]:void 0})),[o,i])})(j),T=(e=>{let{aestheticMappings:t,getDataPointId:n}=e,{getColor:r}=xg(),{flipAxes:i,yStackScale:o,xStackScale:l}=kH(),{visibleObservations:a}=Sd();return(0,O.useCallback)(()=>{let{x:e,y:s,xStackLower:u,xStackUpper:c,yStackLower:d,yStackUpper:p,yStackPercentage:h,group:g}=t;return u&&c&&d&&p?a.map(t=>{var a,f,m,y,x,b,C,v,j,A,w;let k=null!=(f=l(gY(null!=(a=t[u])?a:0)))?f:0,S=null!=(y=l(gY(null!=(m=t[c])?m:0)))?y:0,P=null!=(b=o(gY(null!=(x=t[d])?x:0)))?b:0,L=null!=(v=o(gY(null!=(C=t[p])?C:0)))?v:0,M=yf({observation:t,group:g});return{id:n(t),type:"bar",isMekko:!0,stackType:"stacked-fill",observation:t,xValue:null!=(j=t[e])?j:"",yValue:null!=(A=t[s])?A:"",xPosition:k,yPosition:P,vizColor:r(t),groupValues:M,clusterValues:null,flipAxes:i,percentage:gY(null!=(w=t[h])?w:0),x0:k,x1:S,y0:P,y1:L}}):[]},[t,i,r,n,a,l,o])})({aestheticMappings:o,getDataPointId:j.getDataPointId}),D=(0,O.useMemo)(()=>{if(!d)return[];switch(t){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"funnel":return A();case"line":case"areaStacked":return w();case"scatter":return P();case"bubble":return L();case"combo":return k(c);case"heatmap":return S();case"mekko":return T();case"waterfall":return M();default:return[]}},[A,k,S,w,T,P,M,L,d,t,c]);return(0,g.jsx)(xz,{dataPoints:D,addons:r,flipAxes:p,children:n})},TA=e=>{let{hitboxes:t}=e;return null},Tw=h.I4.rect(ll()),Tk=e=>{let{addons:t}=e,n=fY("isPlotMeasured"),r=xw("plotOffsetX"),i=xw("plotOffsetY"),o=xw("plotWidth"),l=xw("plotHeight"),{hitboxes:a,overlayEventHandlers:s,overlayRef:u}=m2(),c="translate(".concat(r," ").concat(i,")");return n&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Tw,Object.assign({ref:u,role:"widget","aria-label":"Chart interactive overlay",width:o,height:l,transform:c},s)),(0,g.jsxs)("g",{transform:c,children:[t.map(e=>(0,g.jsx)(O.Fragment,{children:e.render()},e.id)),(0,g.jsx)(TA,{hitboxes:a})]})]})},TS=h.I4.text(la(),aX,s7("textPrimary")),TP="graphy__chart-plot",TL=h.I4.div(ls(),4),TM=h.I4.div(lu(),e=>{let{$inputAlignment:t}=e;return t},e=>{let{$inputAlignment:t}=e;return t},e=>{let{$isActive:t}=e;return+!!t},sg.subtle),TO=h.I4.div(lc(),aX,s7("grey100"),s7("textPrimary"),ss.sm,su.xs,hC(1),hC(-1)),TT=h.I4.div(ld()),TD=h.I4.span(lp()),TI=h.I4.input(lh()),TE="Add label",TH=e=>{var{label:t,onChange:n,setEditorContainer:r,labelReference:i,transformString:o,overlayWidth:l,overlayHeight:a,inputAlignment:s}=e,u=sk(e,["label","onChange","setEditorContainer","labelReference","transformString","overlayWidth","overlayHeight","inputAlignment"]);let{draftValue:c,isActive:d,handleOverlayMouseDown:p,handleChange:h,handleKeyPress:f,handleMouseDown:m,focusBindings:y,setInput:x}=(e=>{let{label:t,onChange:n}=e,[r,i]=(0,O.useState)(!1),[o,l]=(0,O.useState)(null),a=(0,O.useCallback)(e=>{o&&!r&&(o.focus(),e.preventDefault())},[o,r]),s=(0,O.useCallback)(e=>{e.stopPropagation()},[]),{draftValue:u,handleChange:c,handleKeyPress:d,focusBindings:p}=gA({value:t,onChange:n,onFocus:()=>i(!0),onBlur:()=>i(!1),onEnterKeyPress:()=>null==o?void 0:o.blur(),changeDebounceWait:0});return{draftValue:u,isActive:r,handleOverlayMouseDown:a,handleChange:c,handleKeyPress:d,handleMouseDown:s,focusBindings:p,setInput:l}})({label:t,onChange:n}),b=(0,O.useMemo)(()=>{var e;return null==(e=null==i?void 0:i.closest("svg"))?void 0:e.parentElement},[i]),C=c||TE;return W.createPortal((0,g.jsx)(TL,{ref:r,style:{transform:o},children:(0,g.jsx)(TM,{"aria-label":"Axis label editor area",style:{width:l,height:a},$isActive:d,$inputAlignment:s,onMouseDown:p,children:(0,g.jsx)(TO,{children:(0,g.jsxs)(TT,{style:{maxWidth:l},children:[(0,g.jsx)(TD,{"aria-hidden":!0,children:C}),(0,g.jsx)(TI,Object.assign({ref:x,type:"text",value:c,onChange:h,onKeyPress:f,onMouseDown:m,placeholder:TE},y,u))]})})})}),null!=b?b:document.body)},TV=e=>{let{side:t,label:n,onLabelChange:r}=e,i=(e=>{let t=xw("plotWidth"),n=fY("bottomAxisHeight"),r=fY("rightAxisWidth"),i=fY("textScale");switch(e){case"top":case"bottom":{let r={x:Math.round(t/2),y:"top"===e?-2:n+5};return{label:r,reference:{x:-.5,y:r.y-1,width:t,height:1}}}case"left":case"right":{let t={x:"left"===e?0:r,y:-18.5*i};return{label:t,reference:{x:t.x,y:t.y+10.5*i/2-2,width:1,height:1}}}}})(t),o=(e=>{let t=fY("setTopAxisLabelRef"),n=fY("setRightAxisLabelRef");return{ref:((e,t,n,r,i)=>{switch(e){case"top":return t;case"right":return n;case"bottom":return r;case"left":return i}})(e,t,n,fY("setBottomAxisLabelRef"),fY("setLeftAxisLabelRef")),"aria-label":(e=>{switch(e){case"top":return"Top axis label";case"right":return"Right axis label";case"bottom":return"Bottom axis label";case"left":return"Left axis label"}})(e),textAnchor:(e=>{switch(e){case"top":case"bottom":return"middle";case"right":return"end";case"left":return"start"}})(e),dominantBaseline:(e=>{switch(e){case"top":return"text-after-edge";case"bottom":return"text-before-edge";case"left":case"right":return"hanging"}})(e)}})(t),l=xw("plotWidth"),a=xw("plotHeight"),{truncatedLabel:s,opacity:u}=((e,t)=>{let n=fY("isPlotMeasured"),r=yu();return{truncatedLabel:(0,O.useMemo)(()=>""===e?TE:yG({measureReactContent:r,text:e,maxWidth:t,wrapper:TS}),[e,t,r]),opacity:n?""===e?.5:1:0}})(n,"top"===t||"bottom"===t?l:a),{labelReference:c,setLabelReference:d,setEditorContainer:p,transformString:h}=(e=>{let{x:t,y:n,refs:{setFloating:r,setReference:i,reference:{current:o}}}=(0,ej.we)({placement:(e=>{switch(e){case"top":return"top";case"bottom":return"bottom";case"left":return"right";case"right":return"left"}})(e),whileElementsMounted:(e,t,n)=>(0,ev.ll)(e,t,n,{animationFrame:!0})});return{labelReference:o,setLabelReference:i,setEditorContainer:r,transformString:(0,O.useMemo)(()=>null===t||null===n?"":"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(n),"px, 0)"),[t,n])}})(t),f=(e=>{let t=xw("plotHeight"),n=fY("chartWidth"),{hasSecondaryAxis:r}=kH(),i=fY("textScale");return Object.assign(Object.assign({"aria-label":(e=>{switch(e){case"top":return"Top axis label editor";case"right":return"Right axis label editor";case"bottom":return"Bottom axis label editor";case"left":return"Left axis label editor"}})(e)},((e,t,n,r,i)=>{switch(e){case"top":case"bottom":return{overlayWidth:n,overlayHeight:10.5*i};case"left":case"right":return{overlayWidth:r?t/2:t,overlayHeight:10.5*i}}})(e,n,t,r,i)),{inputAlignment:(e=>{switch(e){case"top":case"bottom":return"center";case"left":return"start";case"right":return"end"}})(e)})})(t),m=fY("textScale"),y=fY("font");return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(TS,Object.assign({},o,i.label,{opacity:u,children:[(0,g.jsx)("title",{children:n}),s]})),r&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("rect",Object.assign({ref:d,fill:"none"},i.reference)),(0,g.jsx)(TH,Object.assign({},f,{label:n,onChange:r,setEditorContainer:p,labelReference:c,transformString:h}),"".concat(m,"_").concat(y))]})]})},TF=e=>{let{axis:t}=e,{flipAxes:n}=kH();return{getAnimationProps:(0,O.useCallback)(function(e){let r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=t===(n?"y":"x")?"x":"y";return{variants:{initial:{[i]:null!=e?e:0,opacity:0},animate:{[i]:null!=e?e:0,opacity:+!!r},exit:{[i]:null!=e?e:0,opacity:0}},initial:"initial",animate:"animate",exit:"exit",transition:fA}},[t,n]),getNonAnimatedProps:(0,O.useCallback)(e=>({transform:t===(n?"y":"x")?"translate(".concat(e,", 0)"):"translate(0, ".concat(e,")"),opacity:0}),[t,n])}},TB=e=>{let{getAxisPosition:t,tickValues:n,axis:r,axisSide:i}=e,{values:o}=fN(),a=xw("plotHeight"),s=xw("plotWidth"),u=gh(e=>e.computedConfig.type),c=fY("isPlotMeasured"),{origin:d,ruleEnd:p,orientation:h}=(e=>{let t=xw("plotWidth"),n=xw("plotHeight"),r=xw("plotOffsetX"),i=fY("topAxisHeight");switch(e){case"top":return{origin:i,ruleEnd:i+n,orientation:l.Y};case"right":return{origin:-6,ruleEnd:-t-6,orientation:l.X};case"bottom":return{origin:-0,ruleEnd:-n-0,orientation:l.Y};case"left":return{origin:r,ruleEnd:r+t,orientation:l.X}}})(i),{getAnimationProps:f}=TF({axis:r});return c&&"combo"!==u?(0,g.jsx)("g",{children:(0,g.jsx)(em.N,{custom:t,children:n.map(e=>{let n=t(e),r=TR(e,n,i,s,a);return(0,g.jsx)(eh.P.g,Object.assign({},f(null!=n?n:0,r),{children:(0,g.jsx)(Ss,{ruleStyle:"gridLine",orientation:h,origin:d,crossOrigin:0,end:p,stroke:o.gridLineColor})}),String(e))})})}):null},TR=(e,t,n,r,i)=>{try{if(0===gY(e))return!1}catch(e){}return null!==e&&0!==t&&t!==("top"===n||"bottom"===n?r:i)},Tz=e=>{let t,{side:n,children:r}=e,i=fY("setTopAxisRef"),o=fY("setRightAxisRef"),l=fY("setBottomAxisRef"),a=fY("setLeftAxisRef");switch(n){case"bottom":t=l;break;case"top":t=i;break;case"left":t=a;break;case"right":t=o}return(0,g.jsx)("g",{ref:t,"aria-label":"AxisContainer ".concat(n),children:null!=r?r:(0,g.jsx)(TY,{})})},TY=()=>(0,g.jsx)("rect",{width:1,height:1,fill:"none"}),TG=e=>{let{sides:t}=e;return t.map(e=>(0,g.jsx)(Tz,{side:e},e))},TW=h.I4.text(lg(),aZ,s7("textSecondary")),TU=e=>{let{label:t,measureReactContent:n,axisSide:r}=e,i=n((0,g.jsx)(TW,{children:t.rich}));return"left"===r||"right"===r?i.height:i.width},TN=e=>{let{labelSize:t,labelPosition:n,getAxisPosition:r,value:i}=e,o=r(i);return null===o?null:{start:o-=t/2,end:o+t}},TK=e=>{let{tryValues:t,formatLabel:n,axisSize:r,measureReactContent:i,getAxisPosition:o,axisSide:l,iterationCount:a=0}=e,s=t(a);if(!s)return TK(Object.assign(Object.assign({},e),{iterationCount:a+1}));if(!s.length||a>50)return[];let u=[],c=r+20,d=s.map(m$),p=-1/0;for(let t=0;tc||g.start<-20)){if(g.start1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:de.Enum.auto,r="ticks"in e&&t>2?e.ticks(t):e.domain(),i=n===de.Enum.auto,o=r.length<=2;return i||o?r:e.domain()},T_=[{cadence:"hourly",step:3},{cadence:"hourly",step:6},{cadence:"hourly",step:12},{cadence:"daily",step:1},{cadence:"daily",step:2},{cadence:"weekly",step:1},{cadence:"weekly",step:2},{cadence:"monthly",step:1},{cadence:"monthly",step:2},{cadence:"monthly",step:3},{cadence:"monthly",step:6},{cadence:"yearly",step:1},{cadence:"yearly",step:2},{cadence:"yearly",step:5},{cadence:"yearly",step:10},{cadence:"yearly",step:20},{cadence:"yearly",step:50},{cadence:"yearly",step:100},{cadence:"yearly",step:1e3}];class TQ extends Error{}let TJ=(e,t)=>t===de.Enum.edges?[e[0],e[e.length-1]]:e,Tq=e=>{var t,n;let{measureReactContent:r,flipAxes:i,testDates:o,plottedDates:l,getAxisPosition:a,formatLabel:s,plotMainSize:u,leftAxisWidth:c,rightAxisWidth:d,cadence:p,dataTypeCadence:h}=e,f=[],m=null,y=null;for(let[e,l]of o.entries()){let o=m$(l),x=T7(o,null!=p?p:h),b=a(x);if(null===b)continue;let C=s(o,[],e,p),{width:v}=r((0,g.jsx)(TW,{children:C.rich})),j=TN({labelSize:v,getAxisPosition:a,value:x,labelPosition:"center"});if(!T3({flipAxes:i,axisPosition:b,tickLabelWidth:v,plotMainSize:u,leftAxisWidth:c,rightAxisWidth:d})){if(f.push({value:o,formatted:C,startPosition:null!=(t=null==j?void 0:j.start)?t:0,endPosition:null!=(n=null==j?void 0:j.end)?n:0}),T0({axisPosition:b,prevAxisPosition:m,tickLabelWidth:v,prevTickLabelWidth:y}))throw new TQ;m=b,y=v}}if(p&&!T2(o,l))throw new TQ;return f},T$=(e,t)=>{var n;let r=e.domain(),i=r[0],o=r[r.length-1],{cadence:l,step:a}=t;if(T1({cadence:l,step:a,start:i,stop:o}))return[];let s="quarterly"===l?3*a:a,u=(e=>{switch(e){case"hourly":return e2.A;case"daily":return e5.A;case"weekly":return e3.rt;case"monthly":case"quarterly":return e7.A;case"yearly":return e9.A}})(l),c=u.range(i,o,s);if(0===c.length)return[];let d=null==(n=u.every(s))?void 0:n.floor(o);return d&&o.valueOf()===d.valueOf()?[...c,o]:c},T1=e=>{let{cadence:t,step:n,start:r,stop:i}=e,o=(0,I.c)(i,r);switch(t){case"hourly":return 24*o/n>40;case"daily":return o/n>40;case"weekly":return o/(7*n)>40;case"monthly":return o/(30*n)>40;case"quarterly":return o/(90*n)>40;case"yearly":return o/(365*n)>40}},T0=e=>{let{axisPosition:t,prevAxisPosition:n,tickLabelWidth:r,prevTickLabelWidth:i}=e;return null!==n&&null!==i&&t-r/2-(n+i/2)<10},T2=(e,t)=>{let n=0;for(let[r,i]of e.entries()){let o=m$(i);if(null===o)continue;let l=e[r+1]?m$(e[r+1]):void 0;for(let e of t)T5(m$(e),o,l)&&n++}return e.length>0&&n/e.length>=2},T5=(e,t,n)=>{if(null===e)return!1;let r=gG(e).getTime(),i=gG(t).getTime(),o=void 0!==n&&cD(n)?gG(n).getTime():1/0;return r>=i&&r<=o},T3=e=>{let{flipAxes:t,axisPosition:n,tickLabelWidth:r,plotMainSize:i,leftAxisWidth:o,rightAxisWidth:l}=e,a=Math.max(o,12),s=Math.max(l,12);return!t&&(n-r/2<-a-20||n+r/2>i+s+20)},T7=(e,t)=>{if(!t||!["monthly"].includes(t.cadence)||null===e)return e;let n=gG(e),r=n.getMonth();return n.setMonth(0),n.setDate(1),n.setDate(30.4375*r),n},T9=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sQ,n=fY("waterfallTotalLabel");return(0,O.useMemo)(()=>"waterfall"===e?(e,r,i)=>i===r.length-1?{plain:n,rich:n}:t(e,r,i):t,[e,t,n])},T4=e=>{let{xPosition:t,yPosition:n,formattedTickValue:r,textAnchor:i,dominantBaseline:o,isRotated:l,numTicks:a}=e,{xStep:s,isTimeseriesBarAxis:u,flipAxes:c}=kH(),d=fY("chartWidth"),p=fY("chartHeight"),h=xw("plotWidth"),f=yu(),m=(0,O.useMemo)(()=>l?yG({measureReactContent:f,text:r.plain,maxWidth:.3*p,wrapper:TW}):null===s||u?r.plain:yG({measureReactContent:f,text:r.plain,maxWidth:c?.3*d:h/a-5,wrapper:TW}),[p,d,c,r.plain,l,u,f,a,h,s]),y=(0,g.jsxs)(TW,{x:t,y:n,textAnchor:i,dominantBaseline:o,children:[(0,g.jsx)("title",Object.assign({},l?{"data-testid":"rotated"}:{},{children:r.plain})),m]});return l?(0,g.jsx)("g",{style:{transformOrigin:"".concat(t,"px ").concat(n,"px"),transform:"rotate(-90deg)"},children:y}):y},T6=e=>{let{tick:t,isRotated:n,side:r,numTicks:i}=e,{values:o}=fN(),{xPosition:a,yPosition:s,lineOrigin:u,lineEnd:c,textAnchor:d,dominantBaseline:p}=(e=>{let{side:t,isRotated:n}=e,r=xw("plotOffsetX"),i=xw("plotOffsetY"),[o,l]=(e=>{let{textScale:t,side:n,plotOffsetX:r,plotOffsetY:i}=e;switch(n){case"top":return[0,i-9-2-13.5*t];case"right":return[9,0];case"bottom":return[0,11];case"left":return[r-9-2-6,0]}})({textScale:fY("textScale"),side:t,plotOffsetX:r,plotOffsetY:i}),[a,s]=(e=>{let t,{side:n,plotOffsetX:r,plotOffsetY:i}=e;switch(n){case"top":t=i-9-11-5;break;case"right":case"bottom":t=0;break;case"left":t=r-9-6}return[t,t+9]})({side:t,plotOffsetX:r,plotOffsetY:i});return{xPosition:o,yPosition:l,lineOrigin:a,lineEnd:s,textAnchor:((e,t)=>"left"===e?"end":"right"===e||"top"===e&&t?"start":t?"end":"start")(t,n),dominantBaseline:"top"===t?"alphabetic":"text-before-edge"}})({side:r,isRotated:n});return null===t.startPosition||void 0===t.startPosition||null===t.endPosition||void 0===t.endPosition?null:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Ss,{ruleStyle:"tickLine",orientation:"top"===r||"bottom"===r?l.Y:l.X,origin:u,end:c,crossOrigin:(t.endPosition-t.startPosition)/2,stroke:o.gridLineColor}),(0,g.jsx)(T4,{xPosition:a,yPosition:s,formattedTickValue:t.formatted,textAnchor:d,dominantBaseline:p,isRotated:n,numTicks:i})]})},T8=e=>{let{side:t,ticks:n,shouldRotate:r,shouldHideTicks:i}=e,o=fY("isPlotMeasured"),{getXAxisPosition:l,getTimeseriesBarAxisPosition:a,isTimeseriesBarAxis:s}=kH(),{getAnimationProps:u,getNonAnimatedProps:c}=TF({axis:"x"}),d=(null!=n?n:[]).filter(e=>{if(null==e)return!1;let{startPosition:t,endPosition:n}=e;return Number.isFinite(t)&&Number.isFinite(n)});return i||0===d.length?(0,g.jsx)(Tz,{side:t}):(0,g.jsx)(Tz,{side:t,children:o?(0,g.jsx)(em.N,{custom:s?a:l,children:d.map((e,n)=>{var i,o;return(0,g.jsx)(eh.P.g,Object.assign({},u(null!=(i=e.startPosition)?i:0),{children:(0,g.jsx)(T6,{tick:e,isRotated:r,side:t,numTicks:d.length})}),String(null!=(o=e.value)?o:n))})}):d.map((e,n)=>{var i,o;return(0,g.jsx)("g",Object.assign({},c(null!=(i=e.startPosition)?i:0),{children:(0,g.jsx)(T6,{tick:e,isRotated:r,side:t,numTicks:d.length})}),String(null!=(o=e.value)?o:n))})})},De=e=>{let{vizType:t,comboPlotType:n,label:r,onLabelChange:i,formatLabel:o=sQ,side:l="bottom"}=e,{getXAxisPosition:s,getTimeseriesBarAxisPosition:u,isTimeseriesBarAxis:c,xType:d,options:p}=kH(),h=c?u:s,{ticks:f,shouldRotate:m,shouldHideTicks:y}=(e=>{let{formatLabel:t,options:n,getAxisPosition:r,axisSide:i}=e,o=yu(),{isTimeseriesBarAxis:l,flipAxes:s,xType:u,xScale:c,xStep:d}=kH(),p=gh(e=>e.computedConfig.xAxisLabelsMode),h=gh(e=>e.computedConfig.type),g=gh(e=>e.computedConfig.comboPlotType),f=xw("plotWidth"),m=xw("plotHeight"),y=s?m:f,x=T9(h,t),b=(e=>{let{formatLabel:t,getAxisPosition:n,measureReactContent:r,xType:i}=e,{xScale:o,xValues:l,timeseriesBarScale:a,flipAxes:s}=kH(),u=fY("leftAxisWidth"),c=fY("rightAxisWidth"),d=(e=>{switch(e){case h4.Year:return{cadence:"yearly",step:1};case h4.Quarter:return{cadence:"quarterly",step:1};case h4.MonthYear:case h4.Month:return{cadence:"monthly",step:1};case h4.WeeklyDateRange:case h4.WeeklyDateRangeWithYear:return{cadence:"weekly",step:1};default:return}})(i);return(0,O.useCallback)(e=>{let{plotMainSize:i,labelsMode:p}=e;try{return Tq({measureReactContent:r,flipAxes:s,testDates:TJ(((e,t)=>"ticks"in e?[...new Set(t.filter(cD))]:e.domain().map(m$).filter(cD).map(mJ))(o,l),p),plottedDates:l,getAxisPosition:n,formatLabel:t,plotMainSize:i,leftAxisWidth:u,rightAxisWidth:c,dataTypeCadence:d})}catch(e){if(!(e instanceof TQ))throw e}for(let e of T_)try{return Tq({measureReactContent:r,flipAxes:s,testDates:TJ(T$(a,e),p),plottedDates:l,getAxisPosition:n,formatLabel:t,plotMainSize:i,leftAxisWidth:u,rightAxisWidth:c,cadence:e})}catch(e){if(e instanceof TQ)continue}return[]},[d,s,t,n,u,r,c,a,o,l])})({formatLabel:x,getAxisPosition:r,measureReactContent:o,xType:u}),C=(e=>{let{formatLabel:t,getAxisPosition:n,measureReactContent:r}=e,{xValues:i}=kH();return(0,O.useCallback)(e=>{let{plotMainSize:o,labelsMode:l,axisSide:a}=e,s=TK({formatLabel:t,tryValues:((e,t)=>n=>{let r=Math.floor(t/10),i=Math.ceil(e.length/r);return((e,t)=>{let n=[],r=Math.ceil(e.length/t);for(let i=0;i{let{formatLabel:t,getAxisPosition:n,measureReactContent:r}=e,{xScale:i}=kH();return(0,O.useCallback)(e=>{let{plotMainSize:o,labelsMode:l,axisSide:a}=e,s=TK({formatLabel:t,tryValues:((e,t)=>n=>{var r,i;let o=null!=(r=e[0])?r:1/0,l=null!=(i=e.at(-1))?i:-1/0,a=TZ[n];a||(a=Math.pow(10,4+n-TZ.length));let{start:s,count:u}=((e,t,n)=>{let r=Math.floor(e/n)*n,i=Math.ceil(t/n)*n;return{start:r,end:i,count:Math.floor((i-r)/n)}})(o,l,a);return u>t/10?null:Array.from({length:u+1},(e,t)=>s+t*(null!=a?a:0))})(i.domain().map(m$),o),getAxisPosition:n,measureReactContent:r,axisSize:o,axisSide:a});return l===de.Enum.edges?[s[0],s[s.length-1]]:s},[t,n,i,r])})({formatLabel:x,getAxisPosition:r,measureReactContent:o}),j=(e=>{let{formatLabel:t,measureReactContent:n}=e,{hitboxes:r}=m2(),{xValues:i}=kH();return(0,O.useCallback)(e=>{let{axisSide:o}=e,l=[];return r.forEach((e,r)=>{let[a]=e.dataPoints;if(!a||!m3(a))return;let s=t(a.xValue,i,r),u=TU({label:s,measureReactContent:n,axisSide:o}),c=a.x1-a.x0;if(c-10>=10){let e=(c-u)/2;l.push({formatted:s,value:a.xValue,startPosition:a.x0+e,endPosition:a.x0+c-e})}}),l},[t,r,n,i])})({formatLabel:x,measureReactContent:o}),A=(e=>{let{formatLabel:t,measureReactContent:n,getAxisPosition:r}=e;return(0,O.useCallback)(e=>{let{xScale:i,plotWidth:o,xAxisLabelsMode:l,axisSide:a,supportsLabelRotation:s,xStep:u}=e,c=!1,d=TX(i,(e=>{let{plotWidth:t,xTickLabelWidth:n}=e;return t/n-5})({plotWidth:o,xTickLabelWidth:140}),l),p=d.map(m$),h=Math.max(0,(o+40)/d.length-10),g=d.map((e,i)=>{var o,l;let s=t(p[i],p,i),u=TU({label:s,measureReactContent:n,axisSide:a}),c=TN({labelSize:Math.min(u,h),value:e,getAxisPosition:r,labelPosition:"center"});return{value:e,formatted:s,labelSize:u,startPosition:null!=(o=null==c?void 0:c.start)?o:0,endPosition:null!=(l=null==c?void 0:c.end)?l:0}});return s&&null!==u&&u<50&&(c=g.some(e=>e.labelSize>u)),c&&(g=g.map(e=>{var t,i;let o=TN({labelSize:TU({label:e.formatted,measureReactContent:n,axisSide:(e=>{switch(e){case"top":return"right";case"bottom":return"left";case"left":return"top";case"right":return"bottom"}})(a)}),value:e.value,getAxisPosition:r,labelPosition:"center"});return Object.assign(Object.assign({},e),{startPosition:null!=(t=null==o?void 0:o.start)?t:0,endPosition:null!=(i=null==o?void 0:o.end)?i:0})})),{ticks:g,shouldRotate:c}},[t,r,n])})({formatLabel:x,measureReactContent:o,getAxisPosition:r});return(0,O.useMemo)(()=>{var e;if(!(null==(e=null==c?void 0:c.domain())?void 0:e.some(e=>null!==e))||0===y)return{ticks:[],shouldRotate:!1,shouldHideTicks:!0};switch(yX({xType:u,isTimeseriesBarAxis:l,vizType:h,comboPlotType:g})){case a.Mekko:return{ticks:j({axisSide:i}),shouldRotate:!1,shouldHideTicks:!1};case a.Timeseries:return{ticks:b({plotMainSize:y,labelsMode:p,axisSide:i}),shouldRotate:!1,shouldHideTicks:!1};case a.Dynamic:return{ticks:C({plotMainSize:y,labelsMode:p,axisSide:i}),shouldRotate:!1,shouldHideTicks:!1};case a.Continuous:return{ticks:v({plotMainSize:y,labelsMode:p,axisSide:i}),shouldRotate:!1,shouldHideTicks:!1};default:{let{ticks:e,shouldRotate:t}=A({xScale:c,plotWidth:f,xAxisLabelsMode:p,axisSide:i,supportsLabelRotation:!!(!s&&(null==n?void 0:n.supportsRotatedTicks)),xStep:d});return{ticks:e,shouldRotate:t,shouldHideTicks:0===e.length||null!==d&&!l&&d<10}}}},[u,l,h,g,j,i,C,y,p,v,b,s,null==n?void 0:n.supportsRotatedTicks,A,c,f,d])})({formatLabel:o,options:p,getAxisPosition:h,axisSide:l}),x=0===f.length||!!(null==p?void 0:p.hideMainAxis);return(0,g.jsxs)(g.Fragment,{children:[Dt(t,n,p)&&(0,g.jsx)(TB,{getAxisPosition:h,tickValues:f.map(e=>null==e?void 0:e.value),axis:"x",axisSide:l}),(0,g.jsxs)("g",{role:"graphics-object group","aria-roledescription":"top"===l?"top axis":"bottom axis",children:[x?(0,g.jsx)(TG,{sides:[l]}):(0,g.jsx)(T8,{side:l,ticks:f,shouldRotate:m,shouldHideTicks:y},"".concat(d,"-").concat(t)),Dn(r,p)&&i&&(0,g.jsx)(TV,{label:r,onLabelChange:i,side:l})]})]})},Dt=(e,t,n)=>!!(null==n?void 0:n.withVerticalGridLines)&&("lines"===t||![...cJ,...cq,"combo"].includes(e)),Dn=(e,t)=>void 0!==e&&!(null==t?void 0:t.hideMainAxis),Dr=e=>{let{formattedTickValue:t,side:n}=e,r=fY("leftAxisWidth");return(0,g.jsx)(TW,Object.assign({},Di(n,r),{textAnchor:Do(n),dominantBaseline:Dl(n),children:t.rich}))},Di=(e,t)=>{switch(e){case"top":case"bottom":case"right":return{x:0,y:0};case"left":return{x:t,y:0}}},Do=e=>{switch(e){case"top":case"bottom":return"middle";case"left":return"end";case"right":return"start"}},Dl=e=>"top"===e||"bottom"===e?"text-before-edge":"central",Da=e=>{let{side:t,getYAxisPosition:n,formatLabel:r=sQ,tickValues:i}=e,o=fY("isPlotMeasured"),{getAnimationProps:l,getNonAnimatedProps:a}=TF({axis:"y"});return(0,g.jsx)(Tz,{side:t,children:o?(0,g.jsx)(em.N,{custom:n,children:i.map((e,o)=>{var a;return(0,g.jsx)(eh.P.g,Object.assign({},l(null!=(a=n(e))?a:0),{children:(0,g.jsx)(Dr,{formattedTickValue:r(m$(e),i.map(m$),o),side:t})}),String(e))})}):(0,g.jsx)(g.Fragment,{children:i.map((e,n)=>(0,g.jsx)("g",Object.assign({},a(e),{children:(0,g.jsx)(Dr,{formattedTickValue:r(m$(e),i.map(m$),n),side:t})}),"".concat(String(e),"-").concat(n)))})})},Ds=e=>{let{formatLabel:t,label:n,onLabelChange:r,side:i="right",scale:o="primary"}=e,{flipAxes:l,getYAxisPosition:a,getSecondaryYAxisPosition:s,options:u}=kH(),{seriesLabels:c}=Tc(),d=(e=>{let{flipAxes:t,scale:n,yAxisLabelsMode:r,options:i}=e,{yScale:o,secondaryYScale:l}=kH(),a=xw("plotWidth"),s=xw("plotHeight"),u=t?a:s,c=null==i?void 0:i.useLogScale,d="secondary"===n?l:o;return(0,O.useMemo)(()=>TX(d,(e=>{let{plotMainSize:t,yTickLabelHeight:n,useLogScale:r}=e;return r?Math.min(t/(6*n),4):t/(6*n)})({plotMainSize:u,yTickLabelHeight:12,useLogScale:c}),r),[u,d,c,r])})({flipAxes:l,scale:o,options:u,yAxisLabelsMode:gh(e=>e.computedConfig.yAxisLabelsMode)});if("secondary"===o&&c.length>0)return(0,g.jsx)(Tz,{side:i,children:(0,g.jsx)(Tf,{})});if(Du(d,o,u))return(0,g.jsx)(TG,{sides:[i]});let p="secondary"===o?s:a;return(0,g.jsxs)(g.Fragment,{children:[(null==u?void 0:u.withHorizontalGridLines)&&(0,g.jsx)(TB,{getAxisPosition:p,tickValues:d,axis:"y",axisSide:i}),(0,g.jsxs)("g",{role:"graphics-object group","aria-roledescription":"left"===i?"left axis":"right axis",children:[(0,g.jsx)(Da,{side:i,getYAxisPosition:p,formatLabel:t,tickValues:d}),Dc(n,u)&&r&&(0,g.jsx)(TV,{label:n,onLabelChange:r,side:i})]})]})},Du=(e,t,n)=>0===e.length||1===e.length&&0===e[0]||(null==n?void 0:n.hideCrossAxis)||"secondary"===t&&"single"===(null==n?void 0:n.comboPlotAxisCount),Dc=(e,t)=>void 0!==e&&!(null==t?void 0:t.hideCrossAxis),Dd=(e,t)=>"translate(".concat(e," ").concat(t,")"),Dp=e=>{let{side:t,children:n}=e,r=((e,t,n,r,i,o,l,a)=>{switch(e){case"top":return Dd(t,n-0-a);case"right":return Dd(t+r+6*(l>1),n);case"bottom":return Dd(t,n+0+i);case"left":return Dd(t-6*(o>1)-o,n)}})(t,xw("plotOffsetX"),xw("plotOffsetY"),xw("plotWidth"),xw("plotHeight"),fY("leftAxisWidth"),fY("rightAxisWidth"),fY("topAxisHeight"));return(0,g.jsx)("g",{transform:r,children:n})},Dh=e=>{let{topLabel:t,formatTopLabel:n=sQ,onTopLabelChange:r,rightLabel:i,formatRightLabel:o=sQ,onRightLabelChange:l,bottomLabel:a,formatBottomLabel:s=sQ,onBottomLabelChange:u,leftLabel:c,formatLeftLabel:d=sQ,onLeftLabelChange:p,reverseCrossAxisPosition:h}=e,{flipAxes:f}=kH(),{seriesLabels:m}=Tc(),y=gh(e=>e.computedConfig.comboPlotType),x=gh(e=>e.computedConfig.type),{legendPosition:b}=Tl(),C={vizType:x,comboPlotType:y,label:t,formatLabel:n,onLabelChange:r},v={vizType:x,comboPlotType:y,label:i,formatLabel:o,onLabelChange:l},j={vizType:x,comboPlotType:y,label:a,formatLabel:s,onLabelChange:u},A={vizType:x,comboPlotType:y,label:c,formatLabel:d,onLabelChange:p},w=m.length>0,k=h&&"right"!==b;return(0,g.jsxs)(g.Fragment,f?{children:[(0,g.jsx)(Dp,{side:k?"bottom":"top",children:(0,g.jsx)(Ds,Object.assign({side:k?"bottom":"top",scale:"heatmap"===x||"combo"===x?"primary":"secondary"},"combo"===x?v:A))}),"heatmap"===x?(0,g.jsx)(Dp,{side:"right",children:(0,g.jsx)(De,Object.assign({side:"right"},C))}):(0,g.jsx)(TG,{sides:["right"]}),(0,g.jsx)(Dp,{side:k?"top":"bottom",children:(0,g.jsx)(Ds,Object.assign({side:k?"top":"bottom",scale:"heatmap"===x||"combo"===x?"secondary":"primary"},"combo"===x?A:v))}),"heatmap"===x?(0,g.jsx)(TG,{sides:["left"]}):(0,g.jsx)(Dp,{side:"left",children:(0,g.jsx)(De,Object.assign({side:"left"},j))})]}:{children:["heatmap"===x?(0,g.jsx)(Dp,{side:"top",children:(0,g.jsx)(De,Object.assign({side:"top"},C))}):(0,g.jsx)(TG,{sides:["top"]}),(0,g.jsx)(Dp,{side:k?"left":"right",children:(0,g.jsx)(Ds,Object.assign({side:k?"left":"right",scale:"heatmap"===x||"combo"===x||w?"secondary":"primary"},"combo"===x||w?A:v))}),"heatmap"===x?(0,g.jsx)(TG,{sides:["bottom"]}):(0,g.jsx)(Dp,{side:"bottom",children:(0,g.jsx)(De,Object.assign({side:"bottom"},j))}),(0,g.jsx)(Dp,{side:k?"right":"left",children:(0,g.jsx)(Ds,Object.assign({side:k?"right":"left",scale:"heatmap"===x||"combo"===x||w?"primary":"secondary"},"combo"===x||w?v:A))})]})},Dg=e=>{let{axis:t,flipAxes:n,getAxisPosition:r}=e,i=t===(n?"y":"x")?l.Y:l.X,{values:o}=fN(),a=fY("isPlotMeasured"),s=xw("plotWidth"),u=xw("plotHeight"),{getAnimationProps:c}=TF({axis:t});if(!a)return null;let d=r(0);return(0,g.jsx)(eh.P.g,Object.assign({},c(null!=d?d:0),{children:(0,g.jsx)(Ss,{orientation:i,origin:t===(n?"x":"y")?s:u,crossOrigin:0,end:0,stroke:o.originLineColor})}))},Df=()=>{let{getXAxisPosition:e,getTimeseriesBarAxisPosition:t,isTimeseriesBarAxis:n,hasPositiveAndNegativeXValues:r,getYAxisPosition:i,hasPositiveAndNegativeYValues:o,flipAxes:l=!1}=kH(),a=n?t:e;return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(em.N,{custom:a,children:r&&(0,g.jsx)(Dg,{axis:"x",flipAxes:l,getAxisPosition:a})},"x-".concat(String(l))),(0,g.jsx)(em.N,{custom:i,children:o&&(0,g.jsx)(Dg,{axis:"y",flipAxes:l,getAxisPosition:i})},"y-".concat(String(l)))]})},Dm=e=>{let{flipAxes:t,textScale:n=1,font:r,waterfallTotalLabel:i="Total",children:o}=e,l=(0,O.useId)(),a=(0,O.useId)(),s=(0,O.useId)(),{height:u,width:c,setElement:d}=gV(),{height:p,setElement:h}=gV(),{height:f,setElement:m}=gV(),{width:y,setElement:x}=gV(),{width:b,setElement:C}=gV(),[v,j]=(0,O.useState)(null),[A,w]=(0,O.useState)(null),[k,S]=(0,O.useState)(null),[P,L]=(0,O.useState)(null),[M,T]=(0,O.useState)(0),D="number"==typeof n?n:Number.parseFloat(n)||1,I=(0,O.useMemo)(()=>b>1?Math.max(b+6,12):12,[b]),E=(0,O.useMemo)(()=>{let e=Math.max(v||A?18.5*D:0,(P?5+10.5*D:0)+(p>1?p+0:0));return t||(e+=M),Math.max(e,0)},[t,v,M,A,D,p,P]),H=(0,O.useMemo)(()=>{let e=Math.max(c,1);return e-=Math.max(b+6,12),e-=Math.max(y+6,12),t&&(e-=M),Math.max(e,1)},[c,t,b,M,y]),V=(0,O.useMemo)(()=>{let e=Math.max(u,1)-E;return f>1&&(e-=f+0),k&&(e-=5+10.5*D),Math.max(e,1)},[f,k,u,E,D]),F=(0,O.useMemo)(()=>c>0&&u>0&&p>0&&f>0&&y>0&&b>0,[c,u,p,f,y,b]),B=dU(r),R=(0,O.useMemo)(()=>({chartPortalId:l,setSvgContainer:d,chartWidth:c,chartHeight:u,setPlotPadding:T,isPlotMeasured:F,underPlotPortalId:a,portalId:s,textScale:D,font:B,waterfallTotalLabel:i,setTopAxisRef:h,setTopAxisLabelRef:L,topAxisHeight:p,setBottomAxisRef:m,bottomAxisHeight:f,setBottomAxisLabelRef:S,setLeftAxisRef:C,setLeftAxisLabelRef:j,leftAxisWidth:b,setRightAxisRef:x,setRightAxisLabelRef:w,rightAxisWidth:y}),[l,d,c,u,F,a,s,D,B,i,h,p,m,f,C,b,x,y]),z=(0,O.useMemo)(()=>({plotOffsetX:I,plotOffsetY:E,plotWidth:H,plotHeight:V}),[I,E,H,V]);return(0,g.jsx)(fz.Provider,{value:R,children:(0,g.jsx)(xA.Provider,{value:z,children:o})})},Dy=()=>{let e=xw("plotWidth"),t=xw("plotHeight"),n=fN();return(0,g.jsx)(eh.P.rect,Object.assign({animate:{x:0,y:0,width:e,height:t},transition:fA,fill:"none",stroke:n.values.gridLineColor},Sa.gridLine,{rx:8}))},Dx=e=>{let{plot:t,axes:n=(0,g.jsx)(TG,{sides:["top","bottom","left","right"]}),originLines:r,hasOutline:i=!0}=e,o=xw("plotOffsetX"),l=xw("plotOffsetY"),a=fY("isPlotMeasured");return(0,g.jsxs)(g.Fragment,{children:[n,a&&(0,g.jsxs)(eh.P.g,{id:TP,initial:!1,animate:{x:o,y:l},transition:fA,children:[i?(0,g.jsx)(Dy,{}):null,t,r]})]})},Db=h.I4.div(lf()),DC=h.I4.div(lm(),1),Dv=h.I4.div(ly(),3),Dj=h.I4.svg(lx(),2),DA=e=>{let{children:t,plotAddons:n}=e,r=fY("chartWidth"),i=fY("chartHeight"),o=fY("setSvgContainer"),l=fY("underPlotPortalId"),a=fY("portalId");return(0,g.jsxs)(Db,{ref:o,children:[(0,g.jsx)(DC,{id:l}),r>0&&i>0&&(0,g.jsx)(Dj,{viewBox:"0 0 ".concat(r," ").concat(i),children:t}),n,(0,g.jsx)(Dv,{id:a})]})},Dw=e=>{let{vizType:t,aestheticMappings:n,titleContent:r,chartSummary:i,footerContent:o,plot:l,trendline:a,axes:s,originLines:u,addons:c=[],data:d,vizPalette:p,fillTypeRange:h,lineTypeRange:f,highlightStyle:m,options:y,getDataPointId:x,goalLines:b,averageLine:C,xGoalValue:v,yGoalValue:j,percentageValueStrategy:A,formatSeriesLabel:w,curveType:k,textScale:S,font:P,comboPlotAxisCount:L,waterfallTotalLabel:M,flipAxes:O}=e,{group:T,x:D,y:I,color:E,alpha:H,fillType:V,lineType:F}=n,B=(0,g.jsxs)(g.Fragment,{children:[b,C,a]}),R=(e=>{let{vizType:t,data:n,x:r,y:i}=e,o=n.clone();return"waterfall"===t?(e=>{let{data:t,y:n}=e,r=t.getValues(n),i=[];for(let[e,t]of r.entries()){let n=0===e,o=e===r.length-1,l=yD(t);i.push(n?xi:o?xa:l?xo:xl)}return t.add({variableKey:xr,type:h4.Text,values:i}),t})({data:(e=>{let{data:t,y:n}=e,r=t.getValues(n),i=[],o=[],l=0;for(let[e,t]of r.entries()){if(null===t){i.push(null),o.push(null);continue}let n=0===e||e===r.length-1,a=n?0:l,s=gY(t)+(n?0:l);l=s,i.push(a),o.push(s)}return t.add({variableKey:xt,type:t.getType(n),values:i}),t.add({variableKey:xn,type:t.getType(n),values:o}),t})({data:(e=>{let{data:t,x:n,y:r}=e,i=t.getValues(r).filter(cD).map(gY);if(0===i.length)return t;let o=0;for(let e of i)o+=e;return t.appendValues(n,[null]),t.appendValues(r,[o]),t})({data:o,x:r,y:i}),y:i}),y:i}):n})({vizType:t,data:d,x:D,y:I});return(0,g.jsx)(Dm,{textScale:S,font:P,waterfallTotalLabel:M,flipAxes:O,children:(0,g.jsx)(kU,{vizType:t,aestheticMappings:n,data:R,options:y,xGoalValue:v,yGoalValue:j,comboPlotAxisCount:L,flipAxes:O,children:(0,g.jsx)(xf,{vizType:t,data:R,vizPalette:p,lineTypeRange:f,lineType:F,color:E,alpha:H,fillType:V,fillTypeRange:h,children:(0,g.jsx)(Sp,{data:R,group:T,vizType:t,children:(0,g.jsx)(Tj,{aestheticMappings:n,addons:c,data:R,vizType:t,getDataPointId:x,percentageValueStrategy:A,curveType:k,options:y,children:(0,g.jsx)(yr,{vizType:t,chartHasTrend:void 0!==a,data:R,aestheticMappings:n,highlightStyle:m,children:(0,g.jsx)(Ta,{data:R,group:T,formatSeriesLabel:w,customLegendPosition:null==y?void 0:y.customLegendPosition,children:(0,g.jsx)(Td,{data:R,x:D,y:I,group:T,formatLabel:w,children:(0,g.jsx)(xj,{titleContent:r,chartSummary:i,footerContent:o,children:(0,g.jsxs)(DA,{plotAddons:B,children:[(0,g.jsx)(Dx,Object.assign({},{plot:l,axes:s,originLines:u})),(0,g.jsx)(Tk,{addons:c})]})})})})})})})})})})},Dk=h.I4.div(lb()),DS=(0,O.forwardRef)((e,t)=>{let{children:n}=e,r=xw("plotOffsetX"),i=xw("plotWidth");return(0,g.jsx)(Dk,{ref:t,style:{left:r+i+16},children:n})});DS.displayName="SideLegend";let DP=(0,h.I4)(eh.P.div)(lC()),DL=(0,h.I4)(eh.P.div)(lv()),DM=e=>{let{children:t,vizType:n}=e,r=Sb("pieRadius"),i=xw("plotOffsetX"),o=xw("plotOffsetY"),l=Sb("pieCenterX"),a=Sb("pieCenterY"),s=SC(r,n),u=gV();if(s<50)return null;let c=2*s-16,d=Math.min(c/Math.sqrt(Math.pow(u.width,2)+Math.pow(u.height,2)),1);return(0,g.jsx)(DP,{initial:!1,animate:{width:c,height:c,left:i+l-s+8,top:o+a-s+8},transition:fA,children:(0,g.jsx)(DL,{ref:u.setElement,initial:!1,animate:{scale:d,x:"-50%",y:"-50%"},transition:fA,children:t})})},DO=e=>{let{vizType:t,children:n,addons:r=[],value:i,valueType:o,label:l,valueLabel:a,getDataPointId:s=OC}=e,u=(e=>{let{vizType:t,value:n,valueType:r,label:i,valueLabel:o,getDataPointId:l}=e,{getColor:a,getFillType:s}=xg(),{visibleObservations:u}=Sd(),c=Sb("pieRadius"),d=Sb("pieCenterX"),p=Sb("pieCenterY"),h=fY("isPlotMeasured"),g=O1({observations:u,value:n});return(0,O.useCallback)(()=>{if(!h)return[];let e=g.map(e=>e.value);return g.map(u=>{let h=u.data,g=h[n],f=i?h[i]:null,m=a(h),y=s(h);return{type:t,id:l(h),startAngle:u.startAngle,endAngle:u.endAngle,pieValue:g,valueType:r,percentage:yM({strategy:"divide-by-total",values:e,absoluteValue:g}),pieLabel:f,pieRadius:c,pieCenterX:d,pieCenterY:p,vizColor:m,fillType:y,valueLabel:o,observation:h}})},[t,g,a,l,s,h,i,d,p,c,n,o,r])})({vizType:t,value:i,valueType:o,label:l,valueLabel:a,getDataPointId:s});return(0,g.jsx)(xz,{dataPoints:u(),addons:r,children:n})},DT=e=>{let{vizType:t,data:n,aestheticMappings:r,rightLegend:i,centerContent:o,chartSummary:l,titleContent:a,footerContent:s,plot:u,addons:c=[],valueLabel:d,getDataPointId:p,formatDataLabel:h,formatSeriesLabel:f,textScale:m,font:y,legendPosition:x,shouldShowLabels:b,vizPalette:C}=e,v=gV(),{value:j,label:A,color:w}=r;return(0,g.jsx)(Dm,{textScale:m,font:y,children:(0,g.jsx)(Sp,{vizType:t,data:n,label:A,children:(0,g.jsx)(Sx,{sideLegendWidth:v.width,legendPosition:x,shouldShowLabels:b,formatDataLabel:h,value:j,label:A,children:(0,g.jsx)(xf,{vizType:t,data:n,color:w,vizPalette:C,children:(0,g.jsx)(DO,{vizType:t,addons:c,value:j,valueType:n.getType(j),label:A,valueLabel:d,getDataPointId:p,children:(0,g.jsx)(yr,{vizType:t,data:n,aestheticMappings:r,children:(0,g.jsx)(Ta,{data:n,label:A,formatSeriesLabel:f,children:(0,g.jsxs)(xj,{titleContent:a,chartSummary:l,footerContent:s,children:[(0,g.jsxs)(DA,{plotAddons:o?(0,g.jsx)(DM,{vizType:t,children:o}):null,children:[(0,g.jsx)(Dx,{plot:u,hasOutline:!1}),(0,g.jsx)(Tk,{addons:c})]}),i?(0,g.jsx)(DS,{ref:v.setElement,children:i}):null]})})})})})})})})},DD={variant:"muted",size:"xs"},DI={[h4.Date]:(0,g.jsx)(bT,Object.assign({},DD)),[h4.Datetime]:(0,g.jsx)(bT,Object.assign({},DD)),[h4.Year]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.Month]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.MonthYear]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.DayMonth]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.WeeklyDateRange]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.WeeklyDateRangeWithYear]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.Quarter]:(0,g.jsx)(bD,Object.assign({},DD)),[h4.Integer]:(0,g.jsx)(bM,Object.assign({},DD)),[h4.Decimal]:(0,g.jsx)(bM,Object.assign({},DD)),[h4.Percentage]:(0,g.jsx)(bO,Object.assign({},DD)),[h4.Duration]:(0,g.jsx)(bT,Object.assign({},DD)),[h4.Text]:(0,g.jsx)(bL,Object.assign({},DD)),[h4.Boolean]:(0,g.jsx)(bL,Object.assign({},DD))},DE=e=>{let{formattingType:t=h4.Text,currencyIso:n=h9.Usd}=e;if(t===h4.Currency)switch(n){case h9.Gbp:return(0,g.jsx)(bH,Object.assign({},DD));case h9.Usd:return(0,g.jsx)(bI,Object.assign({},DD));case h9.Eur:return(0,g.jsx)(bE,Object.assign({},DD));default:return(0,g.jsx)(bI,Object.assign({},DD))}return DI[t]},DH="graphy__table-plot",DV=h.I4.div(lj(),ss.md),DF=h.I4.table(lA()),DB=h.I4.thead(lw()),DR=h.I4.th(lk(),s7("grey90")),Dz=h.I4.td(lS(),hS,mj,s7("textSecondary"),hC(1),hC(1.5),e=>{let{$textAlign:t}=e;return t}),DY=h.I4.div(lP(),hC(.75),hC(1.25),hC(1.5),hC(1),e=>{let{$textAlign:t}=e;return t}),DG=h.I4.div(lL()),DW=h.I4.div(lM(),hS,mv,s7("textPrimary"),e=>{let{$textAlign:t}=e;return+("start"===t)}),DU=h.I4.tbody(lO()),DN=h.I4.tr(lT(),DR,Dz,s7("grey70"),s7("grey90"),s7("grey90"),DR,s7("grey90"),ss.md,ss.md,s7("grey100"),Dz,ss.md,Dz,ss.md,Dz,s7("grey90")),DK=e=>{let{columns:t,data:n,titleContent:r,footerContent:i}=e,o=t.length*hh(10);return(0,g.jsx)(xj,{titleContent:r,footerContent:i,children:(0,g.jsx)(DV,{children:(0,g.jsxs)(DF,{id:DH,"aria-rowcount":n.length,style:{minWidth:o},children:[(0,g.jsx)(DB,{children:(0,g.jsx)(DN,{children:t.map((e,t)=>{let{title:n,formattingType:r,currencyIso:i}=e;return(0,g.jsx)(DR,{children:(0,g.jsxs)(DY,{$textAlign:DZ(r),children:[(0,g.jsx)(DG,{children:(0,g.jsx)(DE,{formattingType:r,currencyIso:i})}),(0,g.jsx)(DW,{$textAlign:DZ(r),title:n,children:n})]})},"column-".concat(t))})})}),(0,g.jsx)(DU,{children:n.map((e,n)=>(0,g.jsx)(DN,{children:t.map((t,r)=>{let{getCellValue:i,formatValue:o=sQ,formattingType:l}=t,a=o(i(e));return(0,g.jsx)(Dz,{$textAlign:DZ(l),title:a.plain,children:a.rich},"cell-".concat(n,"-").concat(r))})},"row-".concat(n)))})]})})})},DZ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h4.Text;return dL(e)?"end":"start"},DX=e=>{let{formattingType:t,intl:n,value:r,currency:i,numberFormat:o}=e;switch(t){case h4.Boolean:return gN({value:r});case h4.Currency:return g1({intl:n,value:r,currency:i,numberFormat:o});case h4.Date:return fy({intl:n,value:r});case h4.Datetime:return fx({intl:n,value:r});case h4.Year:return fu({intl:n,value:r});case h4.Quarter:return fo({value:r});case h4.MonthYear:return fr({intl:n,value:r});case h4.Month:return fn({intl:n,value:r});case h4.DayMonth:return g3({intl:n,value:r});case h4.WeeklyDateRange:return fa({intl:n,value:r});case h4.WeeklyDateRangeWithYear:return fs({intl:n,value:r});case h4.Decimal:return g7({intl:n,value:r,numberFormat:o});case h4.Duration:return fe({value:r});case h4.Integer:return ft({intl:n,value:r});case h4.Percentage:return fi({intl:n,value:r,numberFormat:o});case h4.Text:return fl({value:r})}},D_=h.I4.div(lD(),8,e=>{let{$justify:t}=e;return t},e=>{let{$align:t}=e;return t},e=>{let{$direction:t}=e;return"vertical"===t?"column":"row"},e=>{let{$direction:t}=e;return"vertical"===t?"width: 100%; height: 100%;":"width: 100%;"}),DQ=h.I4.div(lI()),DJ=(0,h.AH)(lE(),s7("legendBorderColor"),hC(.25),hC(.75)),Dq=h.I4.div(lV(),4,sg.subtle,e=>{let{$isHidden:t}=e;return t?.5:1},e=>{let{$variant:t}=e;return"pill"===t&&DJ},e=>{let{$isClickable:t}=e;return t&&(0,h.AH)(lH())}),D$=h.I4.div(lR(),aN,hS,e=>{let{$variant:t}=e;return"pill"===t&&(0,h.AH)(lF(),s7("legendTextColor"))},e=>{let{$variant:t}=e;return"popover"===t&&(0,h.AH)(lB(),s7("textPrimary"))}),D1=h.I4.span(lz(),s7("textSecondary")),D0=h.I4.div(lY(),hC(-.25)),D2=h.I4.div(lG()),D5=e=>{let{theme:t,legendSymbol:n,vizColor:r,opacity:i,isDimmed:o,highlightStyle:l,backgroundColor:a}=e;if("bar"===n)return yz({theme:t,fill:r,opacity:null!=i?i:1,isDimmed:o,highlightStyle:l,backgroundColor:a});if("line"===n)return yU({theme:t,color:r,isDimmed:o,highlightStyle:l});try{return ex.Ay.mix(t.values.grey100,r,null!=i?i:1).hex()}catch(e){return r}},D3=e=>{let{label:t,value:n,vizColor:r,opacity:i,fillType:o,lineType:l,legendSymbol:a,customLegendSymbol:s,variant:u="pill",isHidden:c,onClick:d,isDimmed:p,highlightStyle:h,backgroundStyle:f,shouldShowValue:m}=e,y=fN(),{hasMouseOver:x,mouseOverTargetProps:b}=gP(),C=!!d;if(null===t||null===r)return null;let v=D5({theme:y,legendSymbol:a,vizColor:r,opacity:i,isDimmed:p,highlightStyle:h}),j=c?(0,g.jsx)(D2,{children:(0,g.jsx)(x9,{size:"xs"})}):x?(0,g.jsx)(D2,{children:(0,g.jsx)(x4,{size:"xs"})}):s||(0,g.jsx)(sV,{symbol:a,fill:v,pattern:((e,t,n)=>{if(["bar","tile","pie","donut"].includes(e)){if("hatched"===t)return"hatched"}else if("line"===e){if("dashed"===n)return"hatched";if("dotted"===n)return"dotted"}})(a,o,l)});return(0,g.jsxs)(Dq,Object.assign({},C&&b,{$isClickable:C,$isHidden:!!c,role:"listitem","aria-label":"Legend item",$variant:u,onClick:d,style:{backgroundColor:"solid"===f?s7("legendBackground"):"transparent"},children:[(0,g.jsx)(D0,{children:j}),(0,g.jsxs)(D$,{$variant:u,title:t.plain,children:[t.rich,m&&n?(0,g.jsxs)(D1,{children:[(0,g.jsx)("span",{children:"\xb7"}),n.rich]}):null]})]}))};function D7(e){let{seriesKey:t,visibleSeriesLength:n,isHiddenSeries:r}=e,i=!(!t||!(null==r?void 0:r(t)));return{isHidden:i,canToggleVisibility:n>1||i}}let D9=(0,h.i7)(lW()),D4=h.I4.div(lU()),D6=h.I4.div(lN(),sA.popover,s7("grey100"),s7("grey90"),D9),D8=h.I4.div(lK(),hC(.75),hC(1)),Ie=h.I4.div(lZ(),hC(.5)),It=h.I4.div(lX(),s7("grey90")),In=hC(1.5),Ir=h.I4.div(l_()),Ii=h.I4.div(lQ(),DJ,In,4),Io=h.I4.div(lJ()),Il=h.I4.div(lq(),aN,s7("legendTextColor")),Ia=h.I4.div(l$(),DJ,In),Is=h.I4.div(l1(),DJ),Iu=O.forwardRef(function(e,t){var{count:n,formatLabel:r,legendSymbol:i}=e,o=sk(e,["count","formatLabel","legendSymbol"]);let l=fN();return n<=0?null:(0,g.jsxs)(Ir,Object.assign({ref:t,"aria-label":"Show ".concat(n," hidden legend items")},o,{children:[(0,g.jsxs)(Ii,{children:[(0,g.jsx)(Io,{children:(0,g.jsx)(sV,{symbol:i,fill:l.values.grey60})}),(0,g.jsxs)(Il,{children:["+",r(n).rich]})]}),(0,g.jsx)(Ia,{}),(0,g.jsx)(Is,{})]}))}),Ic=hb(.5),Id=e=>{let{overflowingItems:t,formatLabel:n,isHiddenSeries:r,locallyVisibleSeriesLength:i,onToggleSeriesVisibility:o,highlightStyle:l,backgroundStyle:a}=e,s=gh(e=>e.computedConfig.type),u=gh(e=>e.computedConfig.comboPlotType),c=fY("chartPortalId"),d=t.length,p=O8({vizType:s,comboPlotType:u,index:0,count:t.length});return(0,g.jsxs)(ew.bL,{children:[(0,g.jsx)(ew.l9,{asChild:!0,onClick:e=>e.stopPropagation(),children:(0,g.jsx)(D4,{role:"button",children:(0,g.jsx)(Iu,{count:d,formatLabel:n,legendSymbol:p})})}),(0,g.jsxs)(D6,{as:ew.UC,side:"bottom",sideOffset:Ic,collisionBoundary:document.getElementById(c),children:[(0,g.jsx)(D8,{children:(0,g.jsx)(Ie,{role:"list",children:t.map((e,n)=>{let c=O8({vizType:s,comboPlotType:u,index:n,count:t.length}),{isHidden:d,canToggleVisibility:p}=D7({seriesKey:e.seriesKey,visibleSeriesLength:i,isHiddenSeries:r}),h=p&&{onClick:()=>o(e.seriesKey)};return(0,g.jsx)(D3,Object.assign({legendSymbol:c,isHidden:d,highlightStyle:l,backgroundStyle:a},h,e,{variant:"popover"}),n)})})}),(0,g.jsx)(It,{as:ew.i3})]})]})},Ip=()=>{let e=(0,Y.A)();return t=>{let n=ft({intl:e,value:t});return{plain:n,rich:n}}},Ih=e=>{let{seriesKey:t,formatSeriesLabel:n}=e;return n(m$(t),m$(t))},Ig=(e,t)=>{let n=Im(e,t);return 0===n.length?null:n.reduce((e,t)=>{try{return e+gY(t)}catch(t){return e}},0)},If=(e,t)=>{let n=Im(e,t),r=Ig(e,t);return 0===n.length||null===r?null:r/n.length},Im=(e,t)=>e.map(e=>e[t]).filter(e=>{if(null===e)return!1;try{return gY(e),!0}catch(e){return!1}}).map(gY),Iy=(e,t)=>{var n,r;return null!=(r=null==(n=[...e].reverse()[0])?void 0:n[t])?r:null},Ix=[...cJ,...cq,"mekko","line","areaStacked","combo","scatter","bubble"],Ib=e=>{let{formatted:t}=e;return(0,g.jsx)(g.Fragment,{children:t.map((e,n)=>{let{rich:r}=e,i=n===t.length-1;return(0,g.jsxs)(O.Fragment,{children:[r,!i&&(0,g.jsx)(g.Fragment,{children:" \xb7 "})]},n)})})},IC=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sQ,r=t.map(t=>n(t,e));return{plain:r.map(e=>{let{plain:t}=e;return t}).join("; "),rich:(0,g.jsx)(Ib,{formatted:r})}},Iv=e=>{var{availWidth:t,availHeight:n,highlightStyle:r,backgroundStyle:i,direction:o}=e,l=sk(e,["availWidth","availHeight","highlightStyle","backgroundStyle","direction"]);let a=Ip(),s=(e=>{let{vizType:t,data:n,aestheticMappings:r,formatSeriesLabel:i=sQ,formatLegendValue:o}=e,{getColor:l,getAlpha:a,getFillType:s,getLineType:u}=xg(),{isGroupHighlighted:c}=yn();return(0,O.useMemo)(()=>{if(Ix.includes(t)){let{group:e}=r,{partitionKeys:t,partitionPathLabels:o,partitionsMap:d}=ym({observations:[...n],group:e});return t.map((e,t)=>{var n,r;let[p]=null!=(n=d.get(e))?n:[];return{seriesKey:e,label:IC(e,null!=(r=o[t])?r:[],i),vizColor:p?l(p):null,opacity:p?a(p):null,fillType:p?s(p):null,lineType:p?u(p):null,isDimmed:!!p&&!1===c(p)}})}return"pie"===t||"donut"===t?[...n].reduce((e,t)=>{let{label:n,value:c}=r;if(!o)return e;let d=mJ(t[n]);return[...e,{seriesKey:d,label:Ih({seriesKey:d,formatSeriesLabel:i}),value:o(t[c]),vizColor:l(t),opacity:a(t),fillType:s(t),lineType:u(t),isDimmed:!1}]},[]):[]},[r,n,o,i,a,l,s,u,c,t])})(l),u=fY("chartWidth"),c=xw("plotHeight"),d=null!=t?t:u,p=null!=n?n:c,h=yu(),{visibleCount:f,overflowCount:m}=(0,O.useMemo)(()=>{let e="horizontal"===o?d:p,t=0,n=0;for(let l of s){let u=h((0,g.jsx)(D3,Object.assign({legendSymbol:"bar",highlightStyle:r,backgroundStyle:i},l))),c=h((0,g.jsx)(Iu,{count:s.length-t-1,formatLabel:a,legendSymbol:"bar"})),d=n+8*(n>0)+("horizontal"===o?u.width:u.height),p=d,f="horizontal"===o?c.width:c.height;if(f>0&&(p+=8+f),p>e)return{visibleCount:t,overflowCount:s.length-t};n=d,t++}return{visibleCount:s.length,overflowCount:0}},[o,d,p,s,h,r,i,a]);return{allItems:s,visibleItems:s.slice(0,f),visibleCount:f,overflowingItems:s.slice(f),overflowCount:m}},Ij=e=>{var{availWidth:t,justify:n="start",align:r="center",direction:i="horizontal",shouldShowValues:o,onLegendItemClick:l,highlightStyle:a,backgroundStyle:s}=e,u=sk(e,["availWidth","justify","align","direction","shouldShowValues","onLegendItemClick","highlightStyle","backgroundStyle"]);let{onToggleSeriesVisibility:c,isHiddenSeries:d}=Sd(),{legendPosition:p}=Tl(),h=xw("plotHeight"),f=gh(e=>e.computedConfig.comboPlotType),{allItems:m,visibleItems:y,visibleCount:x,overflowingItems:b}=Iv(Object.assign(Object.assign({},u),{availWidth:t,availHeight:h,highlightStyle:a,backgroundStyle:s,direction:i})),C=Ip();if(0===m.length||"top"!==p)return(0,g.jsx)(DQ,{});let v=[...y,...b].filter(e=>{let{seriesKey:t}=e;return!d(t)});return(0,g.jsxs)(D_,{role:"list","aria-label":"Legend",$justify:n,$direction:i,$align:r,children:[y.slice(0,x).map((e,t)=>{var{seriesKey:n}=e,r=sk(e,["seriesKey"]);let i=O8({vizType:u.vizType,comboPlotType:f,index:t,count:m.length}),{isHidden:l,canToggleVisibility:p}=D7({seriesKey:n,visibleSeriesLength:v.length,isHiddenSeries:d}),h=p&&{onClick:()=>c(n)};return(0,g.jsx)(D3,Object.assign({legendSymbol:i,isHidden:l,highlightStyle:a,backgroundStyle:s,shouldShowValue:o},h,r),n)}),(0,g.jsx)(Id,{highlightStyle:a,backgroundStyle:s,locallyVisibleSeriesLength:v.length,overflowingItems:b,formatLabel:C,isHiddenSeries:d,onToggleSeriesVisibility:c})]})},IA=(0,h.I4)(eh.P.div)(l0(),hC(1)),Iw=h.I4.div(l2(),hC(1)),Ik=h.I4.div(l5()),IS=h.I4.div(l3(),hC(.25),hC(3)),IP=h.I4.div(l7(),hC(.5),sg.subtle,e=>{let{$isHidden:t}=e;return t?.5:1}),IL=h.I4.div(l9(),hC(.5),hC(3.7)),IM=h.I4.span(l4(),aQ,s7("textPrimary")),IO=h.I4.span(l6()),IT=h.I4.div(l8(),aJ,hC(.5),s7("textSecondary")),ID=h.I4.div(ae()),II=h.I4.span(at(),s7("textPrimary")),IE=e=>{let{symbol:t,metricValue:n,metricValueStat:r,seriesLabel:i,metricLabel:o,isHidden:l,onLegendItemClick:a}=e,{hasMouseOver:s,mouseOverTargetProps:u}=gP(),c=!!a,d=c&&{role:"button",onClick:a},p=l?(0,g.jsx)(x9,{size:"xs"}):s?(0,g.jsx)(x4,{size:"xs"}):t;return(0,g.jsxs)(IP,Object.assign({},c&&u,{$isHidden:!!l,"aria-label":"Headline metric",children:[(0,g.jsxs)(IL,{children:[(0,g.jsx)(IM,{"aria-label":"Metric value",children:n}),o&&(0,g.jsx)(IO,{"aria-label":"Metric label",children:o})]}),r,(0,g.jsxs)(IT,Object.assign({},d,{children:[t?(0,g.jsx)(ID,{children:p}):null,(0,g.jsx)(II,{"aria-label":"Series label",children:i})]}))]}))},IH=h.I4.div(an(),hC(.5)),IV=h.I4.div(ar(),aq),IF=h.I4.div(ai(),e=>{let{$isPositive:t}=e;return s7(t?"trendPositiveColor":"trendNegativeColor")}),IB=h.I4.div(ao(),aq),IR=h.I4.div(al(),s9("currentColor",.2)),Iz=e=>{let{children:t,isPositive:n=!1}=e;return(0,g.jsxs)(IF,{$isPositive:n,children:[(0,g.jsx)(IR,{children:(0,g.jsx)(n?bt:be,{})}),(0,g.jsx)(IB,{children:(0,g.jsx)("span",{children:t})})]})},IY=e=>{let{stat:t,metric:n,metricLabel:r,metricLabelType:i,observations:o,comparisonValue:l,formatTrend:a,formatMetricLabel:s,seriesKey:u}=e;if("current"!==t||"none"===l||!a||!dS(i))return null;let c=o.at(-1),d="tail"===l?o.at(-2):o.at(0),p=((e,t,n)=>{let r=null==e?void 0:e[t],i=null==n?void 0:n[t];return"number"!=typeof i||"number"!=typeof r||0===i?null:(r-i)/i})(c,n,d);if(!p||0===p)return null;let h=r?null==d?void 0:d[r]:void 0;return(0,g.jsxs)(IH,{children:[(0,g.jsx)(Iz,{isPositive:p>0,children:a(Math.abs(p))}),void 0!==h?(0,g.jsxs)(IV,{children:["from ",s(h,u).rich]}):null]})},IG=e=>{var t;let n,{stat:r,observations:i,comparisonValue:o,metric:l,metricLabel:a,metricLabelType:s=h4.Text,seriesKey:u,hasMultipleSeries:c,isCompact:d=!1,legendSymbol:p,getColor:h,getAlpha:f,getFillType:m,getLineType:y,isGroupHighlighted:x,formatTrend:b,formatMetric:C=sQ,formatMetricLabel:v=sQ,formatSeriesLabel:j=sQ,isHidden:A,onLegendItemClick:w,highlightStyle:k}=e,S=fN(),P=(0,O.useMemo)(()=>(e=>{let{stat:t,observations:n,seriesKey:r,metric:i,formatMetric:o}=e;switch(t){case"current":return o(Iy(n,i),m$(r));case"average":return o(If(n,i),m$(r));case"total":return o(Ig(n,i),m$(r));case"conversion":return o(((e,t)=>{let n=Im(e,t),r=n[0],i=n[n.length-1];return void 0===r||void 0===i?null:i/r})(n,i),m$(r),h4.Percentage)}})({stat:r,observations:i,seriesKey:u,metric:l,formatMetric:C}),[C,l,i,u,r]),L=(0,O.useMemo)(()=>(e=>{let{stat:t,observations:n,seriesKey:r,metricLabel:i,metricLabelType:o,formatMetricLabel:l}=e;if(void 0===i)return null;switch(t){case"current":{let e=Iy(n,i);return null===e?null:l(e,m$(r))}case"average":case"total":if(dS(o)){let e=((e,t)=>{var n,r;return null!=(r=null==(n=e.find(e=>null!==e[t]))?void 0:n[t])?r:null})(n,i),t=((e,t)=>{var n,r;return null!=(r=null==(n=[...e].reverse().find(e=>null!==e[t]))?void 0:n[t])?r:null})(n,i);return null===e||null===t?null:l(e===t?e:[e,t],m$(r))}return null;case"conversion":return null}})({stat:r,observations:i,seriesKey:u,metricLabel:a,metricLabelType:s,formatMetricLabel:v}),[v,a,s,i,u,r]),M=(0,O.useMemo)(()=>null===u||"conversion"===r?null:Ih({seriesKey:u,formatSeriesLabel:j}),[j,u,r]),T=IW(r,c),D=M?"".concat(T).concat(null!=(t=null==M?void 0:M.rich)?t:""):T,[I]=i,E=I?D5({theme:S,legendSymbol:p,vizColor:h(I),opacity:f(I),isDimmed:!1===x(I),highlightStyle:k}):null;return I&&("dashed"===y(I)||"hatched"===m(I))?n="hatched":I&&"dotted"===y(I)&&(n="dotted"),(0,g.jsx)(IE,{symbol:c&&I&&E&&(0,g.jsx)(sV,{symbol:p,fill:E,pattern:n}),metricValue:P.rich,metricValueStat:(0,g.jsx)(IY,{stat:r,observations:i,comparisonValue:o,metric:l,metricLabel:a,metricLabelType:s,formatTrend:b,formatMetricLabel:v,seriesKey:u}),seriesLabel:D,metricLabel:!d&&(null==L?void 0:L.rich),isHidden:A,onLegendItemClick:w})},IW=(e,t)=>{switch(e){case"average":return t?"Avg. ":"Average ";case"total":return"Total ";case"conversion":return"Total conversion rate ";case"current":return""}},IU=e=>{var{vizType:t,comboPlotType:n,aestheticMappings:r,stat:i,data:o,comparisonValue:l,getColor:a,getAlpha:s,getFillType:u,getLineType:c,isHiddenSeries:d,onLegendItemClick:p,highlightStyle:h}=e,f=sk(e,["vizType","comboPlotType","aestheticMappings","stat","data","comparisonValue","getColor","getAlpha","getFillType","getLineType","isHiddenSeries","onLegendItemClick","highlightStyle"]);let m={getColor:a,getAlpha:s,getFillType:u,getLineType:c};return"heatmap"===t&&"alpha"in r&&void 0===r.alpha?null:(0,g.jsx)(IS,{"aria-label":"Headline metrics",children:(()=>{if(null===i)return null;switch(t){case"line":case"areaStacked":case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"combo":case"scatter":case"bubble":{let{partitionKeys:e,partitionsMap:a}=ym({observations:[...o],group:r.group}),s=e.filter(e=>!(null==d?void 0:d(e))),{x:u,yValue:c}=r;return(0,g.jsx)(g.Fragment,{children:e.map((r,y)=>{var x;let{isHidden:b,canToggleVisibility:C}=D7({seriesKey:r,visibleSeriesLength:s.length,isHiddenSeries:d}),v=C&&{onLegendItemClick:()=>null==p?void 0:p(r)};return(0,g.jsx)(IG,Object.assign({stat:i,observations:null!=(x=a.get(r))?x:[],comparisonValue:null!=l?l:null,metric:c,metricLabel:u,metricLabelType:o.getType(u),isHidden:b,seriesKey:r,hasMultipleSeries:e.length>=2,legendSymbol:O8({vizType:t,comboPlotType:n,index:y,count:e.length}),highlightStyle:h},v,m,f),r)})})}case"heatmap":{let{alpha:e}=r;return void 0===e?null:(0,g.jsx)(IG,Object.assign({stat:i,observations:[...o],comparisonValue:null,metric:e,seriesKey:null,hasMultipleSeries:!1,legendSymbol:"tile",highlightStyle:h},m,f))}case"pie":case"donut":{let{label:e,value:n}=r;switch(i){case"current":return(0,g.jsx)(g.Fragment,{children:[...o].map((r,o)=>{let l=void 0!==e&&null!==r[e]?gz(r[e]):null;return(0,g.jsx)(IG,Object.assign({stat:i,observations:[r],comparisonValue:null,metric:n,seriesKey:l,hasMultipleSeries:!0,legendSymbol:t,highlightStyle:h},m,f),o)})});case"conversion":case"average":case"total":return(0,g.jsx)(IG,Object.assign({stat:i,observations:[...o],comparisonValue:null,metric:n,seriesKey:null,hasMultipleSeries:!1,legendSymbol:t,highlightStyle:h},m,f))}break}case"funnel":case"mekko":case"waterfall":return null}})()})},IN=e=>{switch(e.vizType){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"line":case"areaStacked":case"scatter":case"bubble":case"combo":return("total"!==e.stat||e.type!==h4.Percentage)&&"conversion"!==e.stat;case"heatmap":return"average"===e.stat;case"funnel":return"conversion"===e.stat;case"mekko":case"pie":case"donut":case"waterfall":case"table":return!1}},IK=h.I4.div(aa(),hC(1.5)),IZ=h.I4.div(as(),hC(.5)),IX=h.I4.div(au(),e=>{let{$size:t}=e;return"".concat(t,"px")},e=>{let{$size:t}=e;return"".concat(t,"px")},e=>{let{$stroke:t}=e;return null!=t?t:"transparent"},e=>{let{$fill:t}=e;return null!=t?t:"transparent"}),I_=[1,2,5,10],IQ=(e,t,n)=>({value:e,size:n(t(e)),label:e.toLocaleString()}),IJ=e=>{var t,n,r;let{data:i,formatBubbleSizeValue:o}=e,l=(()=>{let{sizeScale:e}=kH(),{computeBubbleSize:t,minSize:n,maxSize:r}=SA(),[i,o]=e.domain(),l=((e,t)=>{let n=[],r=Math.floor(Math.log10(t));for(let i=Math.floor(Math.log10(Math.max(e,1)));i<=r;i++){let r=Math.pow(10,i);I_.forEach(i=>{let o=i*r;o>=e&&o<=t&&n.push(o)})}return n.sort((e,t)=>e-t)})(i,((e,t,n,r)=>Math.min(e.invert((26-n)/(r-n)),t))(e,o,n,r)).map(n=>IQ(n,e,t)),a=0===l.length?[]:l.reduce((e,t)=>{if(0===e.length)return[t];let n=e[e.length-1];return n&&t.size>=1.25*n.size?[...e,t]:e},[]);return 0===a.length?[IQ(i,e,t)]:(e=>e.length<=4?e:[0,Math.floor(e.length/3),Math.floor(2*e.length/3),e.length-1].map(t=>e[t]).filter(Boolean))(a)})(),{getColor:a}=xg(),s=(0,h.DP)(),u=gh(e=>e.computedConfig),c=(0,O.useMemo)(()=>{let[e]=[...i];if(!e)return null;let t=yU({theme:s,color:a(e),isDimmed:!1});return{defaultFill:(0,ex.Ay)(t).alpha(.5).hex(),defaultStroke:ex.Ay.mix(s.values.grey0,t,.6).alpha(.5).hex()}},[i,a,s]);if(!l.length||!("sizeProperty"in u)||!u.sizeProperty)return null;let d=null==(t=u.sizeProperty)?void 0:t.label,p=Iq(o,null==(n=l[0])?void 0:n.value),f=Iq(o,null==(r=l.at(-1))?void 0:r.value);return(0,g.jsxs)(IK,{children:[(0,g.jsx)("span",{children:d}),(0,g.jsxs)(IZ,{children:[l.length>1?(0,g.jsx)("span",{children:p}):null,l.map(e=>(0,g.jsx)(IX,{$size:e.size,$fill:null==c?void 0:c.defaultFill,$stroke:null==c?void 0:c.defaultStroke},e.label)),(0,g.jsx)("span",{children:f})]})]})},Iq=(e,t)=>{var n;if(!t)return"";let r=null==e?void 0:e(t);return null!=(n=null==r?void 0:r.plain)?n:""},I$=e=>{let{colors:t,maxColors:n=3,backgroundColor:r}=e,i=t.slice(0,n);return(0,g.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 22",style:{width:"calc(22px * var(--typography-scale))",height:"calc(16px * var(--typography-scale))"},fill:"none",children:(0,g.jsx)("g",{children:[...i].reverse().map((e,t)=>{let n=8.5*(i.length-1-t);return(0,g.jsx)("rect",{x:n,y:3,width:13.5,height:16,rx:3.8,fill:e,stroke:r,strokeWidth:1.6},t)})})})},I1=e=>{var{availWidth:t,justify:n="start",align:r="center",direction:i="horizontal",shouldShowValues:o,onLegendItemClick:l,highlightStyle:a,backgroundStyle:s,backgroundColor:u}=e,c=sk(e,["availWidth","justify","align","direction","shouldShowValues","onLegendItemClick","highlightStyle","backgroundStyle","backgroundColor"]);let{legendPosition:d}=Tl(),p=xw("plotHeight"),{allItems:h}=Iv(Object.assign(Object.assign({},c),{availWidth:t,availHeight:p,highlightStyle:a,backgroundStyle:s,direction:i})),{getColor:f}=xg(),m=(0,O.useMemo)(()=>{let e=[...new Set([...c.data].map(e=>f(e)).filter(e=>!!e))];return 1===e.length?e:Array.from({length:3},(t,n)=>e[n%e.length])},[c.data,f]);if(0===h.length||"top"!==d)return(0,g.jsx)(DQ,{});let y=h[0];return y?(0,g.jsx)(D_,{role:"list","aria-label":"Legend",$justify:n,$direction:i,$align:r,children:(0,g.jsx)(D3,Object.assign({legendSymbol:"bar",customLegendSymbol:m.length>1&&(0,g.jsx)(I$,{colors:m,backgroundColor:u}),highlightStyle:a,backgroundStyle:s,shouldShowValue:o},y),null==y?void 0:y.seriesKey)}):null},I0=hb(1),I2=e=>{let{stat:t,data:n,shouldShowTopLegend:r=!0,vizType:i,aestheticMappings:o,formatBubbleSizeValue:l}=e,{isHiddenSeries:a,onToggleSeriesVisibility:s}=Sd(),{isGroupHighlighted:u}=yn(),{getColor:c,getAlpha:d,getFillType:p,getLineType:h}=xg(),f=O6(i,n,o.group),{showLegend:m,legendAvailWidth:y,showHeadlineMetrics:x,isCompact:b}=(e=>{var{areHeadlineMetricsSupported:t}=e,n=sk(e,["areHeadlineMetricsSupported"]);let{stat:r,vizType:i}=n,o=fY("chartWidth"),{getColor:l,getAlpha:a,getFillType:s,getLineType:u}=xg(),{isGroupHighlighted:c}=yn(),d=yu();return(0,O.useMemo)(()=>{let e={getColor:l,getAlpha:a,getFillType:s,getLineType:u,isGroupHighlighted:c};if(o<1)return{showLegend:!1,legendAvailWidth:0,showHeadlineMetrics:!1,isCompact:!1};if(null===r||!t||!t)return{showLegend:!0,legendAvailWidth:o,showHeadlineMetrics:!1,isCompact:!1};let p=t=>d((0,g.jsx)(IU,Object.assign({isCompact:t},e,n)));if("pie"===i||"donut"===i){let{width:e}=p(!0);return["average","total"].includes(r)?{showLegend:!0,legendAvailWidth:o-e-I0,showHeadlineMetrics:!0,isCompact:!0}:{showLegend:e>o,legendAvailWidth:e>o?o:o-e-I0,showHeadlineMetrics:e<=o,isCompact:!0}}let{width:h}=p(!1);if(h<=o)return{showLegend:!1,legendAvailWidth:o,showHeadlineMetrics:!0,isCompact:!1};let{width:f}=p(!0);return{showLegend:f>o,legendAvailWidth:o,showHeadlineMetrics:!0,isCompact:!0}},[t,o,a,l,s,u,c,d,i,n,r])})(Object.assign({areHeadlineMetricsSupported:IN({vizType:i,type:"pie"===i||"donut"===i?n.getType(o.value):n.getType(o.yValue),stat:t})},e));return 1>fY("chartWidth")?null:(0,g.jsxs)(IA,{initial:{opacity:0},animate:{opacity:1},transition:fA,children:[x&&(0,g.jsx)(IU,Object.assign({isCompact:b,getColor:c,getAlpha:d,getFillType:p,getLineType:h,isGroupHighlighted:u},e,{isHiddenSeries:a,onLegendItemClick:s})),(0,g.jsxs)(Iw,{children:[f&&m&&(0,g.jsx)(I1,Object.assign({availWidth:y,justify:I5(i,x)},e)),!f&&m&&r&&(0,g.jsx)(Ij,Object.assign({availWidth:y,justify:I5(i,x)},e)),"bubble"===i&&(0,g.jsx)(Ik,{children:(0,g.jsx)(IJ,{data:n,formatBubbleSizeValue:l})})]})]})},I5=(e,t)=>c1.includes(e)?t?"end":"center":"start",I3=h.I4.svg(ac()),I7=e=>{let{children:t,zIndex:n}=e,r=fY("chartWidth"),i=fY("chartHeight"),o=fY("isPlotMeasured"),l=xw("plotOffsetX"),a=xw("plotOffsetY");return o?(0,g.jsx)(I3,{viewBox:"0 0 ".concat(r," ").concat(i),style:{zIndex:n},children:(0,g.jsx)("g",{transform:"translate(".concat(l," ").concat(a,")"),children:t})}):null},I9=h.I4.rect(ad(),s7("targetLineColor")),I4=h.I4.path(ap(),s7("targetLineColor")),I6=h.I4.text(ah(),a_,s7("grey100")),I8=e=>{let{formattedLabel:t,yPosition:n,renderSymbol:r}=e,i=fN(),{flipAxes:o}=kH(),a=xw("plotWidth"),s=xw("plotHeight"),u=fY("chartHeight"),c=fY("isPlotMeasured"),d=fY("textScale"),p=o?a:s,h=gV(),f=(e=>{let{labelWidth:t,flipAxes:n,hasSymbol:r}=e,i=5+(n?-6.5-t/2:-13),o=16*!!r;return{arrow:{x:-13+t+5+o,y:-10.85,width:12,height:21.6},labelBackground:{x:n?-6.5-t/2:-13,y:-10.85,width:t+10+o,height:21.7},label:{x:i+o,y:0},symbol:{x:i,y:-6,width:12,height:12}}})({labelWidth:h.width,flipAxes:o,hasSymbol:!!r});return null!==n&&n>=0&&n<=p&&!(u<=0)&&c?(0,g.jsx)(I7,{zIndex:fV.targetLines,children:(0,g.jsxs)(eh.P.g,{initial:!1,animate:{[o?"x":"y"]:n},transition:fA,style:{position:"relative",zIndex:fV.targetLines},children:[(0,g.jsx)(Ss,{ruleStyle:"targetLine",orientation:o?l.Y:l.X,origin:0,end:o?s:a,crossOrigin:0,stroke:i.values.targetLineColor}),(0,g.jsxs)("g",{style:{transform:"scale(".concat(d,")"),transformBox:"fill-box",transformOrigin:"left"},children:[!o&&(0,g.jsx)("svg",Object.assign({},f.arrow,{viewBox:"0 0 10 18",children:(0,g.jsx)(I4,{d:"M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z"})})),(0,g.jsx)(I9,Object.assign({},f.labelBackground,{rx:6})),null==r?void 0:r(f.symbol),(0,g.jsx)(I6,Object.assign({},f.label,{textAnchor:"start",dominantBaseline:"central",ref:h.setElement,children:t}))]})]},String(o))}):null},Ee={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:fA},Et=[...cJ,...cq,"line","combo","areaStacked","waterfall"],En=e=>{let t,{y:n,group:r=[],seriesKey:i,highlightStyle:o,formatLabel:l=sQ}=e,a=fN(),s=gh(e=>e.computedConfig.type),u=gh(e=>e.computedConfig.comboPlotType),{getColor:c,getAlpha:d}=xg(),{getYAxisPosition:p}=kH(),{isGroupHighlighted:h}=yn(),{visibleObservations:f}=Sd(),{partitionKeys:m,partitionsMap:y}=ym({observations:f,group:r}),x=(0,O.useMemo)(()=>{var e,t,n;return 1===m.length?null!=(t=y.get(null!=(e=m[0])?e:""))?t:[]:null!==i&&y.has(i)&&null!=(n=y.get(i))?n:[]},[m,y,i]),b=(0,O.useMemo)(()=>If(x,n),[x,n]),C=null!==b&&Et.includes(s),v=p(b),j=l(b);if(i){let e=O8({vizType:s,comboPlotType:u,index:m.indexOf(i),count:m.length}),[n]=x,r=n?D5({theme:a,legendSymbol:e,vizColor:c(n),opacity:d(n),isDimmed:!1===h(n),highlightStyle:o}):"";t=t=>(0,g.jsx)(sV,Object.assign({symbol:e,fill:r},t))}return(0,g.jsx)(em.N,{children:C&&(0,g.jsx)(eh.P.g,Object.assign({},Ee,{children:(0,g.jsx)(I8,{formattedLabel:"Average: ".concat(j.plain),yPosition:v,renderSymbol:t})}))})},Er=()=>[],Ei=()=>({theme:"graphy",palette:"graphy",borderStroke:cS.border,borderType:"gradient",borderColor:"lilac",shouldHideCaption:!0,shouldHideSourceSection:!0,shouldHideLogo:!1}),Eo=()=>({decimalPlaces:"auto",abbreviation:"auto"}),El=(e,t)=>{let n=po(e);if(!pa(n,t))throw Error("Invalid date format");let r=new Date(n);return t&&(r=(0,V.qg)(n,t,new Date)),new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()))},Ea=/\s*[–—]\s*|\s-\s/,Es=e=>{if(!d6(e))throw Error("Invalid number format");let t=1;return/k$/i.test(e)&&(t=1e3,e=e.slice(0,-1)),/m$/i.test(e)&&(t=1e6,e=e.slice(0,-1)),/b$/i.test(e)&&(t=1e9,e=e.slice(0,-1)),/t$/i.test(e)&&(t=1e12,e=e.slice(0,-1)),Number(e.split(",").join(""))*t},Eu="Invalid percentage format";dg.extend({dataType:dd,defaultLabel:D.Yj()});let Ec="filler",Ed={[h4.Date]:"Date",[h4.Datetime]:"Date",[h4.DayMonth]:"Date",[h4.Year]:"Year",[h4.Quarter]:"Quarter",[h4.Month]:"Month",[h4.MonthYear]:"Month",[h4.WeeklyDateRange]:"Week",[h4.WeeklyDateRangeWithYear]:"Week",[h4.Currency]:"Series",[h4.Decimal]:"Series",[h4.Integer]:"Series",[h4.Percentage]:"Series",[h4.Duration]:"Series",[h4.Boolean]:"Category",[h4.Text]:"Category"},Ep=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c6,r=Eh(e,t),i=((e,t)=>{let n=new Map,r=new Set(e.map(e=>e.key));for(let e of t){for(let t of r){let i=e[t];pm(i)||(n.set(t,i),r.delete(t))}if(0===r.size)break}return n})(e,t);return Em(e.reduce((e,t,o)=>{if(o===r){let n=Ef(t);return e.computedProperties.push(n),e.categoricalProperties.push(n),e}let l=i.get(t.key);if(pm(l))return e;let{computedProperty:a,isNumeric:s}=Eg(t,e.numericProperties.length,l,n);return s?(e.numericProperties.push(a),e.computedProperties.push(a)):(e.computedProperties.push(a),e.categoricalProperties.push(a)),e},{computedProperties:[],numericProperties:[],categoricalProperties:[]}))},Eh=(e,t)=>{let n=((e,t)=>{let n=[];for(let r of e)if(hi(r)&&n.push(r),n.length===t)break;return n})(t,5);return e.findIndex(e=>{let t=n.map(t=>t[e.key]).filter(e=>!pm(e));return t.length>=2&&t.every(e=>"number"==typeof e?!Number.isNaN(e)&&e>=1900&&e<=2199:"string"==typeof e&&pc.test(e))})},Eg=(e,t,n,r)=>{var i;let o=pf(n,r),l=dL(o.type),a=Ey(o.type,t);return{isNumeric:l,computedProperty:Object.assign(Object.assign({},e),{dataType:o,aggregation:l?null!=(i=e.aggregation)?i:"sum":void 0,defaultLabel:a})}},Ef=e=>Object.assign(Object.assign({},e),{dataType:{type:h4.Year,dateFormat:"yyyy"},defaultLabel:"Year"}),Em=e=>{let{computedProperties:t,categoricalProperties:n,numericProperties:r}=e;if(1===n.length&&0===r.length){let e={key:Ec,dataType:{type:h4.Decimal},defaultLabel:Ey(h4.Decimal),aggregation:"sum"};return{computedProperties:[...t,e],categoricalProperties:n,numericProperties:[e]}}return{computedProperties:t,categoricalProperties:n,numericProperties:r}},Ey=(e,t)=>Ed[e].includes("Series")&&void 0!==t?"Series ".concat(t+1):Ed[e],Ex=(e,t,n)=>{let r,i=((e,t,n)=>{if("table"!==e&&"scatter"!==e)return t.numericProperties.some(e=>e.key===Ec)?void 0:n.shouldAggregate?t.categoricalProperties[0]:void 0})(n,e,t),o=void 0!==i,l=o&&void 0===t.shouldAggregate&&!dS(null==i?void 0:i.dataType.type),a=o&&(l||!0===t.shouldAggregate);if(a){let e=dS(i.dataType.type);(!e||t.groupByTimeUnit&&hc(t.groupByTimeUnit,i.dataType.type))&&(r={key:i.key,timeUnit:e?t.groupByTimeUnit:void 0})}let s=e.computedProperties.map(e=>{let t=e.key!==(null==i?void 0:i.key)&&dL(e.dataType.type);return{key:e.key,originalKey:e.key,aggregation:t?e.aggregation:void 0}}),u=t.sortBy?[t.sortBy]:void 0,c=r&&(null==i?void 0:i.dataType.type)&&dS(i.dataType.type)&&r.timeUnit?hj(i.dataType.type,r.timeUnit):null==i?void 0:i.dataType.type,d=[];return t.rollingDateFilter&&i&&c&&dH(c,t.rollingDateFilter.timeUnit)&&d.push(Object.assign({key:i.key,operator:"within last"},t.rollingDateFilter)),a&&0===e.numericProperties.length&&s.push({key:"".concat(i.key,"_count"),aggregation:"count",isDerived:!0,originalKey:i.key}),{isAggregated:a,groupByProperty:i,resolvedGroupByDataType:c,view:{sortBy:u,groupBy:r,properties:s,filters:d}}},Eb=e=>{var t,n;let{theme:r,backgroundStyle:i,firstVizColor:o,customHexColor:l}=e;switch(i){case"solid":return r.values.grey100;case"grey":return r.values.grey85;case"tint":return t=r.colorScheme,n=r.values.grey100,(0,F.jh)(n,o,"dark"===t?.1:.05);case"custom":return l||r.values.grey100;case"transparent":return"transparent"}},EC=(e,t)=>{let n=Object.assign({},e);for(let r in t)void 0!==t[r]&&t[r]!==e[r]&&(n[r]=t[r]);return n},Ev=(0,O.createContext)(null),Ej=ua(Ev,"GraphProvider"),EA=e=>{let{config:t,onChange:n,children:r,graphStateRef:i}=e,o=gm(t),l=(0,O.useCallback)(e=>{let t=((e,t)=>{var n,r,i;let o=Object.assign({},e);if(void 0!==o.data){let e=((e,t)=>{var n,r;let i=null==(n=e.computedProperties.categoricalProperties.find(e=>!0!==e.isHidden))?void 0:n.key;return hg(null!=(r=t.annotations)?r:e.annotations,t.data||e.data,i)})(t,{annotations:null!=(n=o.annotations)?n:t.annotations,data:null!=(r=o.data)?r:t.data});o=EC(o,{annotations:e})}let l=null==(i=o.visualisationConfig)?void 0:i.type;return l&&l!==t.computedConfig.type&&(o=EC(o,((e,t,n)=>{if(he(n,t.properties)){let t=p8.find(t=>t.config.type===e);if(t)return{titleDocument:t.titleDocument,datasetConfig:t.datasetConfig,data:t.data}}return{}})(l,t.datasetConfig,t.data))),o})("function"==typeof e?e(o.current,i.current):e,i.current);Object.keys(t).length>0&&(null==n||n(t,o.current,i.current))},[o,i,n]);return(0,g.jsx)(Ev.Provider,{value:l,children:r})},Ew=e=>e instanceof Date?e4.op.timestamp(e):e;function Ek(e){if("number"!=typeof e)throw Error("Value must be numeric to use numeric comparison operators")}function ES(e){if("string"!=typeof e)throw Error("Value must be a string to use string comparison operators")}let EP=[],EL=(e,t)=>{if(null==e)return null;try{return"string"==typeof e?((e,t)=>{let n=e.trim();switch(t.type){case h4.Decimal:case h4.Integer:case h4.Duration:return Es(n);case h4.Percentage:return(e=>{if(!pu(e))throw Error(Eu);let t=Number(e.replace(/%/g,"").replace(/,/g,""))/100;if(Number.isNaN(t))throw Error(Eu);return t})(n);case h4.Currency:return(e=>{if(!pt(e))throw Error("Invalid currency format");return Es(pe(e))})(n);case h4.Datetime:case h4.Date:case h4.Year:case h4.MonthYear:case h4.Month:case h4.DayMonth:case h4.Quarter:return El(n,t.dateFormat);case h4.WeeklyDateRange:case h4.WeeklyDateRangeWithYear:return((e,t)=>{let[n,r]=(e=>{let[t,n]=e.split(Ea);return[null==t?void 0:t.trim(),null==n?void 0:n.trim()]})(e);if(!n||!r)throw Error("Invalid weekly date range format");return El(n,t)})(n,t.dateFormat);case h4.Text:case h4.Boolean:return n}})(e,t):e}catch(e){return null}},EM=(e,t,n,r)=>{let i=hl(t)?t.xAxisProperties[0]:n.categoricalProperties[0];if(!i)return EP;let o=new sJ;return(e=>{let{chartData:t,view:n}=e,r=t.map(e=>Object.fromEntries(n.properties.map(t=>[t.key,e[t.originalKey]])));return((e,t)=>{var n,r,i,o,l;let a,s,u,c=[];e.groupBy&&(c.push((i=e.groupBy,o=e.weekStartsOn,e=>e.groupby({[i.key]:(0,e4.ih)(e=>(e=>{var t;let{rowValue:n,timeUnit:r,weekStartsOn:i=1}=e;if(!r||!pa(t=n)||!(t instanceof Date||"number"==typeof t))return n;switch(r){case"year":return e4.op.utcdatetime(e4.op.utcyear(n),0,1);case"quarter":{let e=3*Math.floor(e4.op.utcmonth(n)/3);return e4.op.utcdatetime(e4.op.utcyear(n),e,1)}case"month":return e4.op.utcdatetime(e4.op.utcyear(n),e4.op.utcmonth(n),1);case"week":{let e=(0,e6.k)(n,{weekStartsOn:i});return e4.op.utcdatetime(e.getFullYear(),e.getMonth(),e.getDate())}case"day":return e4.op.utcdatetime(e4.op.utcyear(n),e4.op.utcmonth(n),e4.op.utcdate(n));default:return n}})({timeUnit:i.timeUnit,weekStartsOn:o,rowValue:e[i.key]}))}))),c.push((a=e.properties,s=e.groupBy,e=>{let t=a.filter(e=>e.aggregation&&e.key!==s.key);return e.rollup(t.reduce((e,t)=>{let{aggregation:n,key:r}=t;return n?Object.assign(Object.assign({},e),{[r]:e4.op[n](r)}):e},{}))}))),(null==(n=e.filters)?void 0:n.length)&&c.push((u=e.filters,e=>e.filter((0,e4.ih)(t=>u.flatMap(t=>"within last"===t.operator?((e,t)=>{let n=t.rollup({max:e4.op.max(e.key)}).object(),r=e4.op.timestamp((0,e8.D)(n.max)),i=e4.op.timestamp((0,e8.D)(((e,t,n)=>{switch(e){case"day":return(0,te.e)(n,t);case"week":return(0,tr.k)(n,t);case"month":return(0,tt.a)(n,t);case"quarter":return(0,tn.c)(n,t);case"year":return(0,ti.d)(n,t)}})(e.timeUnit,e.value,r)));return[{key:e.key,operator:">=",value:i},{key:e.key,operator:"<=",value:r}]})(t,e):t).every(e=>(e=>{let{first:t,last:n,operator:r}=e,[i,o]=[Ew(t),Ew(n)],l=cH.safeParse(r);if(l.success)return((e,t,n)=>{if(null==t)return!0;switch(Ek(t),Ek(n),e){case">":return t>n;case">=":return t>=n;case"<":return t{switch(ES(t),ES(n),e){case"contains":return e4.op.split(e4.op.upper(t),e4.op.upper(n),void 0).length>1;case"does not contain":return 1===e4.op.split(e4.op.upper(t),e4.op.upper(n),void 0).length}})(a.data,i,o);if("==="===r)return i===o;if("!=="===r)return i!==o;throw Error("Operator ".concat(r," not supported"))})({first:t[e.key],last:e.value,operator:e.operator})))))),(null==(r=e.sortBy)?void 0:r.length)&&c.push((l=e.sortBy,e=>e.orderby(...l.map(e=>"desc"===e.direction?(0,e4.i8)(e.key):e.key))));let d=e.properties.map(e=>e.key);return c.reduce((e,t)=>t(e),(0,e4.HT)(t).select(d)).objects()})(n,r)})({chartData:e.filter(hi).map(e=>{let t=EL(e[i.key],i.dataType),r=i.key===Ec?{}:{[i.key]:t};return EO(i,t)&&o.incrementYearIfNeeded(t),n.computedProperties.forEach(t=>{if(t.key===i.key)return;if(t.key===Ec){let n=e[i.key];return void(r[t.key]=EL(n,t.dataType))}let n=e[t.key];r[t.key]=EL(n,t.dataType)}),r}),view:r})},EO=(e,t)=>!!(0,E.f)(t)&&dP(e.dataType.type),ET=e=>{let{locale:t,children:n}=e,r=t?(e=>{switch(e){case"EN_GB":return"en-GB";case"EN_US":return"en-US"}})(t):"en-GB";return(0,g.jsx)(G.A,{locale:r,timeZone:"UTC",children:n})},ED={count:"Count",distinct:"Distinct",sum:"Sum",min:"Min",max:"Max",mean:"Average",median:"Median",mode:"Mode"},EI=(e,t)=>{var n;return 0===t.length&&e.length>=1?{xAxisProperties:e[0]?[e[0]]:[],yAxisProperties:[...null!=(n=e.slice(1))?n:[]],sizeProperty:void 0}:{xAxisProperties:t[0]?[t[0]]:[],yAxisProperties:e,sizeProperty:void 0}},EE=e=>e.some(e=>e.dataType.type===h4.Percentage),EH=e=>{var t;let n=null==(t=e[0])?void 0:t.dataType.type;return!!n&&dS(n)},EV=[...cJ,...cq,"line","areaStacked","combo","waterfall"],EF=e=>{let{children:t,brandKit:n,parserName:r,onChange:i,config:o={},customPalettes:l,enableLegacySingleBarColorMode:a=!1,canvasColorToVariableName:s=e=>"graphy-canvas-".concat(e.id),theme:u=hH}=e,c=(e=>{var t,n,r,i,o,l,a,s;return Object.assign(Object.assign({},e),{data:null!=(t=e.data)?t:[],datasetConfig:null!=(n=e.datasetConfig)?n:{isDataHorizontal:!1,properties:[]},numberFormat:null!=(r=e.numberFormat)?r:{decimalPlaces:"auto",abbreviation:"auto"},annotations:null!=(i=e.annotations)?i:[],customAppearanceConfig:null!=(o=e.customAppearanceConfig)?o:Ei(),visualisationConfig:null!=(l=e.visualisationConfig)?l:pY(),titleDocument:e.titleDocument&&null!=(a=ug.safeParse(e.titleDocument).data)?a:MR,caption:e.caption&&null!=(s=ug.safeParse(e.caption).data)?s:M4})})(o),{data:d,datasetConfig:p,numberFormat:h,annotations:f,customAppearanceConfig:m,visualisationConfig:y,titleDocument:x,caption:b,sourceLabel:C,sourceUrl:v,fontList:j}=c,A=(0,O.useMemo)(()=>pS(y),[y]),w=(0,O.useMemo)(()=>Object.assign(Object.assign({},p),{properties:p.properties.filter(e=>!e.isHidden)}),[p]),k=(0,O.useMemo)(()=>(e=>{let{customAppearanceConfig:t}=e,n=t;return(e=>{var t,n,r,i,o;return(null==e?void 0:e.borderColor)?e:Object.assign(Object.assign({},e),{borderColor:null!=(o=null!=(n=null!=(t=null==e?void 0:e.borderStyleName)?t:null==e?void 0:e.customBorderStyle)?n:null==(i=null==(r=null==e?void 0:e.seriesConfig)?void 0:r.series1)?void 0:i.color)?o:h_,borderStyleName:null,customBorderStyle:void 0})})(n=(e=>{var t;return void 0!==(null==e?void 0:e.borderStroke)?e:"none"===(null==e?void 0:e.borderStyle)?Object.assign(Object.assign({},e),{borderStroke:cS.stroke,borderType:cL.enum.grey,borderColor:void 0}):("custom"===(null==e?void 0:e.theme)||"brandKit"===(null==e?void 0:e.theme)||"customPalette"===(null==e?void 0:e.theme))&&(null==(t=null==e?void 0:e.customBorderStyle)?void 0:t.startsWith("#"))?Object.assign(Object.assign({},e),{borderStroke:cS.border,borderType:cL.enum.custom,borderColor:null==e?void 0:e.customBorderStyle}):(null==e?void 0:e.borderStyle)===cL.enum.gradient||(null==e?void 0:e.borderStyle)===cL.enum.solid||(null==e?void 0:e.borderStyle)===cL.enum.custom?Object.assign(Object.assign({},e),{borderStroke:cS.border,borderType:null==e?void 0:e.borderStyle,borderColor:void 0}):Object.assign(Object.assign({},e),{borderStroke:cS.stroke,borderType:cL.enum.grey,borderColor:void 0})})(n))})({customAppearanceConfig:m}),[m]),S=(0,O.useMemo)(()=>Ep(w.properties,d,A.locale),[w.properties,d,A.locale]),P=(0,O.useMemo)(()=>Ex(S,w,A.type),[S,w,A.type]),L=(0,O.useMemo)(()=>((e,t)=>{let{vizType:n,view:r,computedProperties:i}=t;return Object.assign(Object.assign({},e),(e=>{var t;let{vizType:n,view:r,computedProperties:i}=e,{computedProperties:o,numericProperties:l,categoricalProperties:a}=((e,t)=>{let n=e.properties.filter(e=>t.categoricalProperties.some(t=>t.key===e.originalKey)),r=e.properties.filter(e=>t.numericProperties.some(t=>t.key===e.originalKey)),i=n.map(n=>{let r=t.categoricalProperties.find(e=>e.key===n.originalKey);if(!r)throw Error("Computed property not found for view property: ".concat(n.originalKey));return e.groupBy&&e.groupBy.timeUnit&&e.groupBy.key===r.key?Object.assign(Object.assign({},r),{dataType:{type:hj(r.dataType.type,e.groupBy.timeUnit)}}):r}),o=r.map(e=>{let n=t.numericProperties.find(t=>t.key===e.originalKey);if(!n)throw Error("Computed property not found for view property: ".concat(e.originalKey));return e.isDerived&&e.aggregation?Object.assign(Object.assign({},n),{dataType:{type:h4.Decimal},label:ED[e.aggregation],defaultLabel:ED[e.aggregation]}):n});return{computedProperties:[...i,...o],categoricalProperties:i,numericProperties:o}})(r,i);switch(n){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"line":case"areaStacked":case"combo":case"mekko":case"heatmap":{let{xAxisProperties:e,yAxisProperties:t}=EI(l,a);return{type:n,xAxisProperties:e,yAxisProperties:t,isTimeseriesData:EH(e),dataContainsPercentages:EE(t),isValidChart:e.length>0&&t.length>0}}case"funnel":case"waterfall":{let{xAxisProperties:e,yAxisProperties:t}=EI(l,a);return{type:n,yAxisProperties:t[0]?[t[0]]:[],xAxisProperties:e[0]?[e[0]]:[],isTimeseriesData:EH(e),dataContainsPercentages:EE(t),isValidChart:e.length>0&&t.length>0}}case"pie":case"donut":{let{xAxisProperties:e,yAxisProperties:t}=EI(l,a);return{type:n,labelProperty:e[0],valueProperty:t[0],isTimeseriesData:EH(e),dataContainsPercentages:EE(t),isValidChart:!!(e[0]&&t[0])}}case"scatter":{let e=l[0]?[l[0]]:[],r=[...null!=(t=l.slice(1))?t:[]];return{type:n,xAxisProperties:e,yAxisProperties:r,isTimeseriesData:EH(e),dataContainsPercentages:EE(r),labelProperty:a[0],isValidChart:l.length>=2}}case"bubble":{let e=l[0]?[l[0]]:[],t=l[1]?[l[1]]:[];return{type:n,xAxisProperties:e,yAxisProperties:t,sizeProperty:l[2],isTimeseriesData:EH(e),dataContainsPercentages:EE(t),labelProperty:a[0],isValidChart:l.length>=3}}case"table":return{type:n,columns:o,isTimeseriesData:EH(a),dataContainsPercentages:EE(l),isValidChart:o.length>0}}})({vizType:n,view:r,computedProperties:i}))})(A,{vizType:A.type,view:P.view,computedProperties:S}),[P.view,A,S]),M=(0,O.useMemo)(()=>EM(d,L,S,P.view),[d,L,S,P.view]),T=(0,O.useMemo)(()=>mE(Object.assign(Object.assign({},k),{colorScheme:u.colorScheme,brandKit:n,vizType:L.type,customPalettes:l}),(e=>{let{chartData:t,computedConfig:n,isCategoricalSingleAxisChart:r}=e;return Math.max(((e,t,n)=>{switch(e.type){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":return((e,t,n)=>{var r,i;let o=e.yAxisProperties.length,l=null==(r=e.xAxisProperties)?void 0:r[0];if(!l)return o;let a=l.key,s=null==(i=l.dataType)?void 0:i.type;return 1===o&&(dS(s)||dL(s))?1:n?new Set(t.map(e=>{var t;return null!=(t=e[a])?t:null})).size:o})(e,t,n);case"pie":case"donut":return((e,t)=>{var n;let r=null==(n=e.labelProperty)?void 0:n.key;return r?new Set(t.map(e=>{var t;return null!=(t=e[r])?t:null})).size:1})(e,t);case"scatter":case"mekko":case"line":case"areaStacked":case"combo":return e.yAxisProperties.length;default:return 1}})(n,t,r),1)})({computedConfig:L,chartData:M,isCategoricalSingleAxisChart:hs(L)}),hs(L),a),[k,u.colorScheme,n,L,l,M,a]),{fillTypes:D,lineTypes:I}=((e,t)=>{let n=(0,O.useCallback)(n=>EV.includes(e.type)?"waterfall"===e.type?hJ.map(e=>{var r,i,o;return null!=(o=null==(i=null==(r=t.seriesConfig)?void 0:r[e])?void 0:i[n])?o:"solid"}):e.yAxisProperties.reduce((e,r,i)=>{var o,l,a;let{isHidden:s}=r;if(s)return e;let u=hQ[i];return[...e,null!=(a=null==(l=null==(o=t.seriesConfig)?void 0:o[u])?void 0:l[n])?a:"solid"]},[]):[],[t,e]);return{fillTypes:(0,O.useMemo)(()=>n("fillType"),[n]),lineTypes:(0,O.useMemo)(()=>n("lineType"),[n])}})(L,k),E=T[0],H=(0,O.useMemo)(()=>{var e;return Eb({theme:u,backgroundStyle:null!=(e=k.backgroundStyle)?e:u3,firstVizColor:E,customHexColor:k.customBackgroundColor})},[u,k.backgroundStyle,k.customBackgroundColor,E]),V=(0,O.useMemo)(()=>({computedProperties:S,computedDataView:P,computedConfig:L,chartData:M,vizPalette:T,backgroundColor:H,annotations:f,appearance:k,visualisationConfig:y,caption:b,customPalettes:l,customAppearance:m,datasetConfig:p,data:d,titleDocument:x,fillTypes:D,lineTypes:I,parserName:r,numberFormat:h,sourceLabel:C,sourceUrl:v,enableLegacySingleBarColorMode:a,canvasColorToVariableName:s,theme:u}),[S,P,L,M,T,H,f,k,y,b,l,m,p,d,x,D,I,r,h,C,v,a,s,u]),F=gm(V),B=(0,O.useMemo)(()=>Object.assign(Object.assign({},V),{ref:F}),[F,V]);return(0,g.jsx)(kR,{children:(0,g.jsx)(xW,{children:(0,g.jsx)(ET,{locale:A.locale,children:(0,g.jsx)(EA,{config:c,graphStateRef:F,onChange:i,children:(0,g.jsx)(gd.Provider,{value:B,children:(0,g.jsx)(fR,{value:j,children:t})})})})})})},EB=h.I4.div(ag()),ER=h.I4.div(af()),Ez=h.I4.div(am()),EY=(0,h.I4)(eh.P.div)(ay(),sA.popover),EG=h.I4.div(ax()),EW=h.I4.div(ab()),EU=h.I4.svg(aC()),EN=e=>{let{strokeWidth:t,hasRoundedCorners:n,defaultRadius:r}=e;if(!n)return{innerRadius:0,outerRadius:0};let i=r;i>t&&(i=t);let o=Math.max(r,i),l=2*o;return o>t&&(l=o+t),{innerRadius:o,outerRadius:l}},EK=e=>{let{hasRoundedCorners:t,style:n,strokeWidth:r}=e,{innerRadius:i,outerRadius:o}=EN({strokeWidth:r,hasRoundedCorners:t,defaultRadius:8}),l=(0,O.useId)(),{width:a,height:s,setElement:u}=gV(),c=(0,ef.K)(),d=(0,O.useRef)(t),p=d.current!==t;return(0,O.useEffect)(()=>{d.current=t},[t]),(0,g.jsx)(EG,{ref:u,className:p||c?void 0:"transition",children:(0,g.jsxs)(EU,{viewBox:"0 0 ".concat(a," ").concat(s),width:a,height:s,children:[(0,g.jsx)("defs",{children:(0,g.jsx)("mask",{id:l,children:i!==o?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("rect",{x:0,y:0,width:a,height:s,rx:o,fill:"white"}),(0,g.jsx)("rect",{x:r,y:r,width:a-2*r,height:s-2*r,rx:i,fill:"black"})]}):(0,g.jsx)("rect",{x:r/2,y:r/2,width:a-r,height:s-r,strokeWidth:r,stroke:"white",rx:i,fill:"none"})})}),(0,g.jsx)("foreignObject",{x:"0",y:"0",width:a,height:s,mask:"url(#".concat(l,")"),children:(0,g.jsx)(EW,{style:n})})]})})},EZ=(e,t)=>{switch(e.mode){case"fixed":return{width:e.width,height:e.height};case"responsive":return{width:t.width,height:t.height};case"keepAspectRatio":{let t,n;return"aspectRatio"in e?"intrinsicWidth"in e?n=(t=e.intrinsicWidth)/e.aspectRatio:t=(n=e.intrinsicHeight)*e.aspectRatio:(t=e.intrinsicWidth,n=e.intrinsicHeight),{width:t,height:n}}}},EX=h.I4.div(av()),E_=h.I4.div(aw(),e=>{let{$hasRoundedCorners:t,$borderStrokeWidth:n=0}=e;return"".concat(EN({strokeWidth:n,hasRoundedCorners:t,defaultRadius:8}).innerRadius,"px")},s7("textPrimary"),e=>{let{$hasCheckeredBackground:t,$backgroundColor:n}=e;return t?(0,h.AH)(aj(),s7("grey100"),mD(2)):(0,h.AH)(aA(),n)}),EQ=h.I4.div(aM(),e=>{let{$textScale:t}=e;return t},e=>{let{$bodyFont:t}=e;return dW(t)},e=>{let{$bodyTextColor:t}=e;return null!=t?t:"inherit"},e=>{let{$headingFont:t}=e;return dW(t)},e=>{let{$headingTextColor:t}=e;return null!=t?t:"inherit"},hf,E_,EB,EX,e=>{let{$hasRoundedCorners:t,$hasBorder:n,$borderStrokeWidth:r=0}=e;return n&&(0,h.AH)(ak(),Math.max(0,r),t?"hidden":"visible")},e=>{let{$hasBorder:t,$isExport:n,$borderStrokeWidth:r}=e;return t&&!r&&!n&&(0,h.AH)(aS(),E_,ur,s7("grey80"),ui,s7("grey70"))},e=>{let{$appearanceVariant:t,$hasBorder:n}=e;return"active"===t&&(0,h.AH)(aP(),n?"2px":"3px",s7("grey60"))},e=>{let{$isEditable:t}=e;return!t&&(0,h.AH)(aL())},hC(4)),EJ=O.createContext(null),Eq=ua(EJ,"VisualisationLayout.Root"),E$=()=>(0,O.useContext)(EJ),E1={mode:"fixed",width:dV.width,height:dV.height},E0=(0,O.forwardRef)(function(e,t){var n,r;let{borderStrokeWidth:i=cS.stroke,borderStyles:o,appearanceVariant:l="default",backgroundColor:a,vizType:s,isEditable:u,children:c,sizing:d=E1,appearanceTheme:p,appearancePalette:h,textScale:f="1",font:m,onResize:y,isExport:x}=e,b=gh(e=>e.titleDocument),C=gV({onResize:y}),v=null!==o,j=gh(e=>!1!==e.appearance.hasRoundedCorners),A=gD([C.setElement,t]),w=fB(),{width:k,height:S}=(0,O.useMemo)(()=>EZ(d,C),[C,d]),P=(0,O.useMemo)(()=>({width:k,vizType:s,hasGradientBorder:v,borderStrokeWidth:i,isEditable:u,chartHeight:S}),[i,v,S,u,s,k]);return(0,g.jsx)(EJ.Provider,{value:P,children:(0,g.jsxs)(EQ,{ref:A,role:"figure","aria-label":MU(b),"data-test-theme":p,"data-test-palette":h,$hasRoundedCorners:j,$borderStrokeWidth:i,$hasBorder:i>0,$appearanceVariant:l,$textScale:f,$bodyFont:null==(n=w.find(e=>{let{id:t}=e;return t===m.body.fontId}))?void 0:n.fontFamily,$headingFont:null==(r=w.find(e=>{let{id:t}=e;return t===m.heading.fontId}))?void 0:r.fontFamily,$bodyTextColor:m.body.color,$headingTextColor:m.heading.color,$isEditable:u,style:"fixed"===d.mode?{width:d.width,height:d.height}:void 0,$isExport:x,children:[(0,g.jsx)(E_,{$borderStrokeWidth:i,$hasRoundedCorners:j,$backgroundColor:a,$hasCheckeredBackground:u&&"transparent"===a,style:{padding:k<500?"1.6em":"2.4em"},children:c}),i>0&&(0,g.jsx)(EK,{style:null!=o?o:void 0,strokeWidth:i,hasRoundedCorners:j})]})})}),E2=(0,O.forwardRef)(function(e,t){var n,r;let i=(e=>{let t=gV();return(0,O.useMemo)(()=>{if("keepAspectRatio"!==e.mode)return{setContainer:t.setElement,canRender:!1,outerStyles:{},innerStyles:{}};let n=EZ(e,{width:0,height:0}),r=t.width>0&&n.width>0?t.width/n.width:1;return{setContainer:t.setElement,canRender:!t.isDefault,outerStyles:Object.assign({width:"100%"},t.isDefault?{aspectRatio:"".concat(n.width," / ").concat(n.height)}:{height:n.height*r}),innerStyles:{transformOrigin:"top left",transform:"scale(".concat(r,")"),width:n.width,height:n.height}}},[e,t.width,t.setElement,t.isDefault])})(null!=(n=e.sizing)?n:E1);return"keepAspectRatio"===(null==(r=e.sizing)?void 0:r.mode)?(0,g.jsx)("div",{ref:i.setContainer,style:i.outerStyles,children:i.canRender&&(0,g.jsx)("div",{style:i.innerStyles,children:(0,g.jsx)(E0,Object.assign({},e,{ref:t}))})}):(0,g.jsx)(E0,Object.assign({},e,{ref:t}))}),E5=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=Eq();return{typographyVariant:E3(t.width-(e?2*t.borderStrokeWidth:0))}},E3=e=>e<=260?"titleSmallest":e<=320?"titleSmaller":"titleSmall",E7={Root:E2,Content:e=>{let{children:t,toolbar:n}=e,{hasFocus:r,focusBindings:i}=gC(),{hasMouseOver:o,mouseOverTargetProps:l}=gP(),a=!!(n&&(o||r)),{chartHeight:s}=Eq();return(0,g.jsxs)(EB,Object.assign({},i,l,{style:{height:s},children:[(0,g.jsx)(ER,{children:(0,g.jsx)(Ez,{children:t})}),(0,g.jsx)(em.N,{children:a?(0,g.jsx)(EY,{style:{x:"-50%",y:"-140%"},initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.15},children:n}):null})]}))}},E9=h.I4.div(aO(),hC(2),hC(2)),E4=h.I4.div(aT(),mb,s7("textSecondary")),E6=h.I4.div(aD(),mj,s7("textDisabled")),E8=e=>{let{isEditable:t,chartData:n,config:r,children:i}=e;return ht(n,r)?(0,g.jsxs)(E9,{children:[(0,g.jsx)(E4,{children:"Cannot render chart: too much data"}),t&&(0,g.jsx)(E6,{children:"Try filtering or grouping the data, using a table visualization or importing a smaller dataset."})]}):He(n,r)?i:(0,g.jsx)(ey.x,{reducedMotion:"always",children:i})},He=(e,t)=>hn(e,t)<=dF[t.type]/2,Ht=function(e,t,n){var r,i;let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(o>=10)return n;let l=t.match(/var\(([^,)]+)(?:,\s*(.+))?\)/),a=null==(r=null==l?void 0:l[1])?void 0:r.trim();if(a){let t=null==(i=null==l?void 0:l[2])?void 0:i.trim(),r=getComputedStyle(e||document.documentElement).getPropertyValue(a).trim();return r?Ht(e,r,n,o+1):t?Ht(e,t,n,o+1):(console.warn('[Graphy] CSS variable "'.concat(a,'" is not defined.')),n)}return t},Hn=()=>(()=>{let e=gh(e=>e.vizPalette);return gh(e=>e.computedProperties.numericProperties).map((t,n)=>({property:t,color:e[n%e.length]}))})().map(e=>{var t;let{property:n,color:r}=e;return{label:null!=(t=n.label)?t:n.defaultLabel,value:r}}),Hr=h.I4.div(aH(),e=>mT[e.$headingVariant],e=>e.$accessoryWidth?e.$accessoryWidth+16:0,e=>e.$hideWhenEmpty?"none":"block",s7("grey90"),e=>{let{$shouldHideTitle:t}=e;return t&&(0,h.AH)(aI(),wc)},e=>{let{$shouldHideSubtitle:t}=e;return t&&(0,h.AH)(aE(),wc)}),Hi=h.I4.div(aV()),Ho=e=>{var t;let{accessory:n,titleDocument:r,isEditable:i,onChange:o,editorDeps:l}=e,a=gV(),s=Hn(),u=gh(e=>e.appearance.shouldHideTitle),c=gh(e=>e.appearance.shouldHideSubtitle),d=E5(),p=MB({isEditable:i,onUpdate:e=>{let t=e.editor.getJSON();null==o||o(t)},content:r},l),{title:h,subtitle:f}=MW(r),m=!(null==h?void 0:h.trim()),y=!(null==f?void 0:f.trim()),x=u||!i&&m,b=c||!i&&y;if(x&&b)return null;let C=null!=(t=a.width)?t:void 0;return(0,g.jsxs)(Hr,{$headingVariant:d.typographyVariant,$accessoryWidth:C,$shouldHideTitle:x,$shouldHideSubtitle:b,style:{minHeight:a.height>0?a.height:void 0},children:[(0,g.jsx)(MI,{editor:p,seriesColorOptions:s}),n?(0,g.jsx)(Hi,{ref:a.setElement,children:n}):null]})},Hl=(e,t,n)=>dL(e)?gY(t)-gY(n):dw(e)?gz(t).localeCompare(gz(n)):dS(e)?gG(t).getTime()-gG(n).getTime():e===h4.Boolean?!0===gW(t)?1:-1:0,Ha=(e,t,n)=>-1*Hl(e,t,n),Hs=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Hl,i=e[t];if(!i)throw Error("Cannot find values for variable ".concat(t,"."));let o=[...i.keys()];return o.sort((e,t)=>{let o=i[e],l=i[t];return void 0!==o&&void 0!==l&&null!==o&&null!==l?r(n,o,l):0}),Object.fromEntries(Object.entries(e).map(t=>{let[n,r]=t;return[n,r.map((t,r)=>{var i,l;let a=null!=(i=o[r])?i:-1;return null==(l=e[n])?void 0:l[a]})]}))};class Hu{clone(){let e=new Hu;for(let[t,n]of(sP(e,d,{size:sS(this,d,"f").size,columns:Object.assign({},sS(this,d,"f").columns),values:{}},"f"),Object.entries(sS(this,d,"f").values)))sS(e,d,"f").values[t]=[...n];return e}add(e){let{variableKey:t,type:n,values:r}=e;if(sS(this,d,"f").columns[t])throw Error("Column already exists for variable ".concat(t,"."));return sP(this,d,{size:Math.max(sS(this,d,"f").size,r.length),columns:Object.assign(Object.assign({},sS(this,d,"f").columns),{[t]:{type:n}}),values:Object.assign(Object.assign({},sS(this,d,"f").values),{[t]:r})},"f"),this}appendValues(e,t){if(!sS(this,d,"f").columns[e])throw Error("No column exists for variable ".concat(e,"."));let n=[...this.getValues(e),...t];return sP(this,d,Object.assign(Object.assign({},sS(this,d,"f")),{size:Math.max(sS(this,d,"f").size,n.length),values:Object.assign(Object.assign({},sS(this,d,"f").values),{[e]:n})}),"f"),this}getType(e){let t=sS(this,d,"f").columns[e];if(void 0===t)throw Error("Cannot find column for variable ".concat(e,"."));return t.type}getVariableKeys(){return Object.keys(sS(this,d,"f").columns)}getValues(e){let t=sS(this,d,"f").values[e];if(void 0===t)throw Error("Cannot retrieve values for unknown variable ".concat(e,"."));return t}exists(e){return void 0!==sS(this,d,"f").columns[e]}sortBy(e,t){return sP(this,d,Object.assign(Object.assign({},sS(this,d,"f")),{values:Hs(sS(this,d,"f").values,e,this.getType(e),t)}),"f"),this}[(d=new WeakMap,Symbol.iterator)](){let e=0,t=Object.keys(sS(this,d,"f").values);return{next:()=>{if(e{var r,i;return Object.assign(Object.assign({},t),{[n]:null!=(i=null==(r=sS(this,d,"f").values[n])?void 0:r[e])?i:null})},{});return e++,{value:n,done:!1}}return{value:null,done:!0}}}}constructor(){d.set(this,{size:0,columns:{},values:{}})}}let Hc=()=>new Hu,Hd="value",Hp="label",Hh="highlight",Hg=h.I4.div(aF(),my,s7("textPrimary")),Hf=e=>{var t;let{valueProperty:n,formatter:r,align:i,totalValue:o}=e,l=null!=(t=null==n?void 0:n.key)?t:"__value";return(0,g.jsx)(Hg,{style:{textAlign:i},children:r(o,l).rich})},Hm=e=>{let{vizType:t,addons:n=[],annotationsAddonProps:r,backgroundColor:i,backgroundStyle:o,chartData:l,font:a,footerContent:s,headlineMetric:u,highlightStyle:c,isEditable:d,isInteractive:p=!0,labelProperty:h,legendPosition:f="top",numberFormat:m,plotEffect:y,shouldShowCategoryLabels:x,shouldShowDataLabels:b,showPercentageLabels:C,textScale:v,titleContent:j,totalPosition:A,valueProperty:w,vizPalette:k,pointAnnotationsAddonProps:S}=e,P=(0,O.useMemo)(()=>{var e,t,n;return(e=>{var t,n;let{chartData:r=[],valueProperty:i,labelProperty:o,highlightAnnotations:l,getDataPointId:a}=e,s=i?i.key:"__value",u=o?o.key:"__label",c=null!=(t=null==i?void 0:i.dataType.type)?t:h4.Decimal,d=null!=(n=null==o?void 0:o.dataType.type)?n:h4.Text,p=Hc().add({variableKey:"id",type:h4.Text,values:r.map((e,t)=>d_({rowIndex:t,propertyKey:s}))}).add({variableKey:Hd,type:c,values:r.map(e=>{var t;return i&&null!=(t=e[s])?t:null})}).add({variableKey:Hp,type:d,values:r.map(e=>{var t;return o&&null!=(t=e[u])?t:null})}),h=new Map,g=l.filter(e=>"x-value"===e.config.highlight);return r.forEach((e,t)=>{if(!o||!i)return;let n=e[u];null!=n&&(h.has(n)||h.set(n,!1),g.some(e=>a(e)===d_({rowIndex:t,propertyKey:s}))&&h.set(n,!0))}),p.add({variableKey:Hh,values:r.map(e=>{var t;if(!o)return!1;let n=e[u];return null!=(t=void 0!==n&&h.get(n))&&t}),type:h4.Boolean}),{data:p,aestheticMappings:{id:"id",highlight:Hh,value:Hd,label:Hp,color:Hp}}})({chartData:l,valueProperty:w,labelProperty:h,getDataPointId:null!=(e=null==S?void 0:S.getDataPointId)?e:()=>"",highlightAnnotations:null!=(n=null==(t=null==S?void 0:S.annotations)?void 0:t.filter(e=>"highlight"===e.config.type))?n:[]})},[l,h,w,null==S?void 0:S.annotations,null==S?void 0:S.getDataPointId]),L=(0,O.useMemo)(()=>{if(!w)return 0;let e=w.key;return l.reduce((t,n)=>{var r;try{let i=gY(null!=(r=n[e])?r:0);return t+(null!=i?i:0)}catch(e){return t}},0)},[l,w]),M=(e=>{var t,n;let{valueProperty:r,labelProperty:i,numberFormat:o,totalValue:l,showPercentageLabels:a,shouldShowDataLabels:s,shouldShowCategoryLabels:u}=e,c=(0,Y.A)(),d=null!=(t=null==r?void 0:r.dataType.type)?t:h4.Decimal,p=null!=(n=null==i?void 0:i.dataType.type)?n:h4.Text,h=(null==r?void 0:r.dataType.type)===h4.Currency?r.dataType.iso:void 0,f=(0,O.useCallback)(e=>{let t=DX({intl:c,value:e,formattingType:d,currency:h,numberFormat:o});return{plain:t,rich:t}},[c,d,h,o]);return{formatPieValue:f,formatPieLabel:(0,O.useCallback)(e=>{let t=DX({intl:c,value:e,formattingType:p,numberFormat:o});return{plain:t,rich:t}},[c,p,o]),formatDataLabel:(0,O.useCallback)((e,t)=>{let n=[];return u&&n.push(DX({intl:c,value:t,formattingType:p,numberFormat:o})),s&&n.push(a?fi({intl:c,value:e/l,numberFormat:o}):DX({intl:c,value:e,formattingType:d,currency:h,numberFormat:o})),2===n.length&&n.splice(1,0,"\xb7"),{plain:n.join(" "),rich:n.map((e,t)=>(0,g.jsx)("span",{children:String(e)},t))}},[u,s,c,p,o,a,l,d,h]),formatMetric:(0,O.useCallback)(e=>{let t=DX({intl:c,value:e,formattingType:d,currency:h,numberFormat:o});return{plain:t,rich:t}},[c,d,h,o]),formatSeriesLabel:(0,O.useCallback)(e=>{let t=DX({intl:c,value:e,formattingType:p,numberFormat:o});return{plain:t,rich:t}},[c,p,o]),formatLegendValue:(0,O.useCallback)(e=>{let t=fi({intl:c,value:("number"==typeof e?gY(e):0)/l,numberFormat:o});return{plain:t,rich:t}},[c,o,l])}})({valueProperty:w,labelProperty:h,numberFormat:m,totalValue:L,showPercentageLabels:C,shouldShowDataLabels:b,shouldShowCategoryLabels:x}),T=Hy({pointAnnotationsAddonProps:S,annotationsAddonProps:r,isInteractive:p,isEditable:d,formatters:M,highlightStyle:c,shouldShowDataLabels:b,shouldShowCategoryLabels:x,disableTooltips:gh(e=>e.appearance.disableTooltips)}),{aestheticMappings:D,data:I}=P,{value:E}=D,H="left"===A||"center"===A&&"pie"===t,V=A?(0,g.jsx)(Hf,{valueProperty:w,totalValue:L,formatter:M.formatMetric,align:A}):null;return(0,g.jsx)(DT,{vizType:t,data:I,aestheticMappings:D,vizPalette:k,textScale:v,font:a,plot:(0,g.jsx)(O0,{vizType:t,value:E,plotEffect:y,backgroundColor:i}),centerContent:"center"!==A||H?null:V,formatDataLabel:M.formatDataLabel,formatSeriesLabel:M.formatSeriesLabel,rightLegend:"right"===f?(0,g.jsx)(Ij,Object.assign({},P,{vizType:t,direction:"vertical",align:"start",justify:"center",formatSeriesLabel:M.formatSeriesLabel,formatLegendValue:M.formatLegendValue,shouldShowValues:!0})):null,legendPosition:f,shouldShowLabels:b||x,chartSummary:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(I2,Object.assign({stat:u,formatMetric:M.formatMetric,formatSeriesLabel:M.formatSeriesLabel,formatLegendValue:M.formatLegendValue,highlightStyle:c,backgroundStyle:o,backgroundColor:i,shouldShowTopLegend:"top"===f,vizType:t},P)),H?V:null]}),titleContent:j,footerContent:s,addons:[...n,...T],valueLabel:null==w?void 0:w.label,getDataPointId:e=>String(e.id)})},Hy=e=>{var t;let{pointAnnotationsAddonProps:n,annotationsAddonProps:r,isInteractive:i,isEditable:o,formatters:l,highlightStyle:a,shouldShowDataLabels:s,shouldShowCategoryLabels:u,disableTooltips:c}=e,d=[],p=null!=(t=null==n?void 0:n.annotations)?t:[];return i&&!c&&d.push(kI(Object.assign(Object.assign({},l),{annotations:p,highlightStyle:a}))),n&&d.push(Ox(Object.assign(Object.assign({},n),{tooltipOptions:Object.assign(Object.assign({},l),{highlightStyle:a,annotations:p}),isEditable:o}))),(s||u)&&d.push({id:"data-labels",render:()=>(0,g.jsx)(Ob,{})}),r&&d.push(M7(r)),d},Hx=e=>{let{chartData:t,columns:n,numberFormat:r,titleContent:i,footerContent:o}=e,l=(e=>{let{numberFormat:t}=e,n=(0,Y.A)();return e=>{let r=e.dataType.type,i=e.dataType.type===h4.Currency?e.dataType.iso:void 0;return{formattingType:r,currencyIso:i,formatTableValue(e){let o=DX({intl:n,value:e,formattingType:r,currency:i,numberFormat:t});return{plain:o,rich:o}}}}})({numberFormat:r});return(0,g.jsx)(DK,{titleContent:i,footerContent:o,columns:n.map((e,t)=>{let{formattingType:n,currencyIso:r,formatTableValue:i}=l(e);return{title:e.label||"Column ".concat(t+1),getCellValue:t=>{var n;return null!=(n=t[e.key])?n:null},formattingType:n,currencyIso:r,formatValue:i}}),data:t})},Hb=e=>(null==e?void 0:e.trim())?e:"Goal",HC=h.I4.svg(aB()),Hv=h.I4.rect(aR(),s7("targetLineColor")),Hj=h.I4.path(az(),s7("targetLineColor")),HA=h.I4.text(aY(),a_,s7("grey100")),Hw=h.I4.circle(aG(),s7("targetLineMarkerColor")),Hk=e=>{let{vizType:t,xGoalValue:n,yGoalValue:r,formatXGoalValue:i,formatYGoalValue:o,customGoalLineLabel:l}=e,{xType:a,flipAxes:s}=kH(),u=yu(),c=HS({xGoalValue:n,yGoalValue:r,formatXGoalValue:i,formatYGoalValue:o,xType:a,customGoalLineLabel:l}),{width:d}=(0,O.useMemo)(()=>u((0,g.jsx)(HA,{children:c})),[c,u]),{isVisible:p,labelContainerPosition:h,labelPosition:f,labelBackgroundDimensions:m,visualCuesContainerPosition:y,arrowDimensions:x,markerDimensions:b,gradientDimensions:C}=(e=>{let{xGoalValue:t,yGoalValue:n,labelWidth:r}=e,{getXAxisPosition:i,getYAxisPosition:o,isBandScale:l,flipAxes:a}=kH(),s=fY("textScale"),u=xw("plotWidth"),c=xw("plotHeight"),d=a?c:u,p=a?u:c,h=(0,O.useMemo)(()=>i(l?mJ(t):t),[i,l,t]),g=(0,O.useMemo)(()=>o(n),[o,n]),f=-11.7*s-7-8;return{isVisible:null!==h&&h>=0&&h<=d&&null!==g&&g>=0&&g<=p,labelContainerPosition:{[a?"y":"x"]:Math.min(Math.max(null!=h?h:0,r/2+5-9),d-r/2-5+9),[a?"x":"y"]:g},labelPosition:{x:0,y:f},labelBackgroundDimensions:{x:-r/2-5,y:f-11.7*s/2-5,width:r+10,height:11.7*s+10},visualCuesContainerPosition:{[a?"y":"x"]:h,[a?"x":"y"]:g},arrowDimensions:{x:-94,y:f+8,width:133,height:6},markerDimensions:{cx:0,cy:0,r:4},gradientDimensions:{x:a?-(null!=g?g:0):-7,y:-7,width:a?Math.abs(null!=g?g:0)+7:14,height:a?14:Math.abs(p-(null!=g?g:0))+7,rx:7}}})({xGoalValue:n,yGoalValue:r,labelWidth:d}),v=window.btoa("goal-line-gradient-".concat((0,O.useId)())),j="goal-label-arrow-".concat((0,O.useId)());return p&&"combo"!==t?(0,g.jsxs)(HC,{width:"100%",height:"100%",children:[(0,g.jsxs)("defs",{children:[(0,g.jsxs)("linearGradient",{id:v,x1:"7",y1:"0",x2:"7",y2:"185",gradientUnits:"userSpaceOnUse",gradientTransform:s?"rotate(90 0.5 0.5)":"",children:[(0,g.jsx)("stop",{stopColor:"#7D738C",stopOpacity:"0.13"}),(0,g.jsx)("stop",{offset:s?"0.7":"0.4",stopColor:"#B0AABA",stopOpacity:"0.1"}),(0,g.jsx)("stop",{offset:s?"0.8":"0.65",stopColor:"#C6C2CD",stopOpacity:"0.08"}),(0,g.jsx)("stop",{offset:s?"0.9":"0.8",stopColor:"#D5D2DA",stopOpacity:"0.06"}),(0,g.jsx)("stop",{offset:"1",stopColor:"#E5E3E8",stopOpacity:"0"})]}),(0,g.jsx)("clipPath",{id:j,children:(0,g.jsx)("path",{fill:"#fff",d:"M0 0h113v6H0z"})})]}),(0,g.jsxs)(eh.P.g,{initial:!1,animate:Object.assign({opacity:+!!p},h),transition:fA,children:[(0,g.jsx)(Hv,Object.assign({},m,{rx:6})),(0,g.jsx)(HA,Object.assign({},f,{textAnchor:"middle",dominantBaseline:"central",children:c}))]}),(0,g.jsxs)(eh.P.g,{initial:!1,animate:Object.assign({opacity:+!!p},y),transition:fA,children:[(0,g.jsx)("svg",Object.assign({},x,{fill:"none",children:(0,g.jsx)("g",{clipPath:"url(#".concat(j,")"),children:(0,g.jsx)(Hj,{d:"m88 0 5.13 5.117a1.25 1.25 0 0 0 1.767-.002L100 0H88Z"})})})),(0,g.jsx)(Hw,Object.assign({},b)),(0,g.jsx)("rect",Object.assign({},C,{fill:"url(#".concat(v,")")}))]})]}):null},HS=e=>{let{xGoalValue:t,yGoalValue:n,formatXGoalValue:r=sQ,formatYGoalValue:i=sQ,xType:o,customGoalLineLabel:l}=e;return"".concat(Hb(l),": ").concat(i(n).rich).concat(dS(o)?" by ".concat(r(t).rich):"")},HP=e=>{let{vizType:t,yGoalValue:n,formatYGoalValue:r=sQ,customGoalLineLabel:i}=e,{getYAxisPosition:o,getSecondaryYAxisPosition:l,hasSecondaryAxis:a}=kH(),s="combo"===t&&a?l:o,u=(0,O.useMemo)(()=>s(n),[s,n]),c=(0,O.useMemo)(()=>"".concat(Hb(i),": ").concat(r(n).rich),[i,r,n]);return(0,g.jsx)(I8,{formattedLabel:c,yPosition:u})},HL={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:fA},HM=e=>{var{vizType:t,xGoalValue:n,yGoalValue:r,customGoalLineLabel:i}=e,o=sk(e,["vizType","xGoalValue","yGoalValue","customGoalLineLabel"]);let{xType:l}=kH();return(0,g.jsx)(em.N,{children:yw(l,n)&&yk(r)?(0,g.jsx)(eh.P.g,Object.assign({},HL,{children:(0,g.jsx)(Hk,Object.assign({vizType:t,xGoalValue:n,yGoalValue:r,customGoalLineLabel:i},o))}),"xy"):yk(r)?(0,g.jsx)(eh.P.g,Object.assign({},HL,{children:(0,g.jsx)(HP,Object.assign({vizType:t,yGoalValue:r,customGoalLineLabel:i},o))}),"y"):null})},HO=h.I4.svg(aW(),fV.trendLines),HT=(0,en.A)().x(e=>{let[t]=e;return t}).y(e=>{let[,t]=e;return t}),HD=e=>{let{observations:t,trendType:n,isSecondaryYAxis:r,isDimmed:i,highlightStyle:o,backgroundColor:l,strokeWidth:a=2,flipAxes:s,plotEffect:u}=e,c=fN(),{neonFilter:d,renderDefs:p}=k4({blur:3}),{getColor:h}=xg(),{getNonResponsiveXPosition:f,getNonResponsiveYPosition:m,getNonResponsiveSecondaryYAxisPosition:y}=kH(),x=r?y:m,b=(0,O.useMemo)(()=>t.map(e=>{let t=[f(e),x(e)];return s&&t.reverse(),t}),[s,f,x,t]),C=(0,O.useMemo)(()=>HT(((e,t,n)=>{let r=[0,n];switch(e){case"linear":return(0,to.regressionLinear)().domain(r)(t);case"exponential":return(0,to.regressionExp)().domain(r)(t.filter(e=>{let[,t]=e;return t>0}));case"logarithmic":return(0,to.regressionLog)().domain([.01,n])(t.filter(e=>{let[t]=e;return t>0}));case"quadratic":return(0,to.regressionQuad)().domain(r)(t);case"polynomial":return(0,to.regressionPoly)().domain(r)(t);case"power":return(0,to.regressionPow)().domain([.01,n])(t.filter(e=>{let[t,n]=e;return t>0&&n>0}));case"loess":return(0,to.regressionLoess)()(t)}})(n,b,300)),[b,n]);if(!C)return null;let[v]=t;if(!v)return null;let j={d:C,stroke:yU({theme:c,color:h(v),isDimmed:i,highlightStyle:o,backgroundColor:l}),fill:"none",strokeDasharray:"".concat(4*a," ").concat(3*a),strokeLinecap:"butt",strokeLinejoin:"round",style:{pointerEvents:"none"},vectorEffect:"non-scaling-stroke"};return(0,g.jsxs)(g.Fragment,{children:["neon"===u&&p(),"neon"===u&&(0,g.jsx)("path",Object.assign({},j,{strokeWidth:2*a,filter:d})),(0,g.jsx)("path",Object.assign({},j,{strokeWidth:a}))]})},HI=e=>{let{type:t,highlightStyle:n,backgroundColor:r,group:i=[],comboPlotAxisCount:o,plotEffect:l,lineThickness:a}=e,s=xw("plotWidth"),u=xw("plotHeight"),c=xw("plotOffsetX"),d=xw("plotOffsetY"),p=fY("isPlotMeasured"),{flipAxes:h,hasSecondaryAxis:f}=kH(),{visibleObservations:m}=Sd(),{chartHasHighlight:y}=yn(),{partitionKeys:x,partitionsMap:b}=(0,O.useMemo)(()=>ym({observations:m,group:i}),[m,i]),{secondaryDomainKey:C}=yS(x,o);return p?(0,g.jsx)(HO,{viewBox:"0 0 300 300",preserveAspectRatio:"none",width:s,height:u,style:{left:c,top:d,overflow:"hidden"},children:x.map(e=>{var i;let o=null!=(i=b.get(e))?i:[];return(0,g.jsx)(eh.P.g,{initial:{opacity:0},animate:{opacity:1},transition:fA,children:(0,g.jsx)(HD,{observations:o,trendType:t,isSecondaryYAxis:f&&e===C,isDimmed:y,flipAxes:h,highlightStyle:n,backgroundColor:r,strokeWidth:a,plotEffect:l})},e)})}):null},HE={hasGridLines:!0,shouldShowDataLabels:!0,shouldStartFromZero:!0,customYAxisStartFrom:null,customYAxisEndAt:null,useLogScale:!1,showPercentageLabels:!1,showStackTotals:!1,hideCrossAxis:!1,hideMainAxis:!1,sortBars:!1,legendPosition:"top",comboPlotAxisCount:"double"},HH="__ID__",HV="__METRIC_NAME__",HF="__METRIC_VALUE__",HB="__HIGHLIGHT__",HR="__HIGHLIGHT_GROUP__",Hz="__X_STACK_LOWER__",HY="__X_STACK_UPPER__",HG="__Y_STACK_LOWER__",HW="__Y_STACK_UPPER__",HU="__Y_STACK_PERCENTAGE__",HN="#@graphy@#",HK=new RegExp("^\\d+".concat(HN)),HZ=e=>"string"!=typeof e?e:m$(e.replace(HK,"")),HX=e=>{let{formattingType:t,intl:n,value:r,currency:i,numberFormat:o}=e;switch(t){case h4.Boolean:return gN({value:r});case h4.Currency:return g1({intl:n,value:r,currency:i,numberFormat:o});case h4.Date:return g5({intl:n,value:r});case h4.Datetime:return g2({intl:n,value:r});case h4.Year:return fu({intl:n,value:r});case h4.Quarter:return fo({value:r});case h4.MonthYear:return fr({intl:n,value:r});case h4.Month:return fn({intl:n,value:r});case h4.DayMonth:return g3({intl:n,value:r});case h4.WeeklyDateRange:return fa({intl:n,value:r});case h4.WeeklyDateRangeWithYear:return fs({intl:n,value:r});case h4.Decimal:return g7({intl:n,value:r,numberFormat:o});case h4.Duration:return fe({value:r});case h4.Integer:return ft({intl:n,value:r});case h4.Percentage:return fi({intl:n,value:r,numberFormat:o});case h4.Text:return fl({value:r})}},H_=e=>{let{formattingType:t,intl:n,value:r,tickValues:i,currency:o,cadence:l}=e;if(l)return H_(Object.assign(Object.assign({},e),{cadence:void 0,formattingType:((e,t)=>{let{cadence:n}=e,r=!dP(t);switch(n){case"daily":return h4.Date;case"monthly":return r?h4.MonthYear:h4.Month;case"quarterly":return h4.Quarter;case"weekly":return r?h4.WeeklyDateRangeWithYear:h4.WeeklyDateRange;case"yearly":return r?h4.Year:h4.Month;default:return t}})(l,t)}));switch(t){case h4.Boolean:return gK({value:r});case h4.Currency:return gq({intl:n,value:r,tickValues:i,currency:o});case h4.Date:case h4.Datetime:return fc({intl:n,value:r,cadence:l});case h4.Year:return fu({intl:n,value:r});case h4.Quarter:return fo({value:r});case h4.MonthYear:return fr({intl:n,value:r});case h4.Month:return fg({intl:n,value:r});case h4.DayMonth:case h4.WeeklyDateRange:case h4.WeeklyDateRangeWithYear:return fd({intl:n,value:r});case h4.Decimal:return gJ({intl:n,value:r,tickValues:i});case h4.Duration:return fp({value:r});case h4.Integer:return fh({intl:n,value:r,tickValues:i});case h4.Percentage:return ff({intl:n,value:r,tickValues:i});case h4.Text:return fm({value:r})}},HQ=e=>{let{yAxisProperties:t}=e;return[...new Set(t.map(e=>e.dataType.type))].length>=2||!t[0]?{formattingType:h4.Decimal}:{formattingType:t[0].dataType.type,currency:t[0].dataType.type===h4.Currency?t[0].dataType.iso:void 0}},HJ=(e,t)=>e.map(e=>{var n;return null!=(n=e[t])?n:null}),Hq=e=>{var t,n,r;let{vizType:i,xAxisProperties:o,yAxisProperties:l,mappings:a,seriesConfig:s,enableLegacySingleBarColorMode:u}=e;if(![...cJ,...cq].includes(i)||1!==l.length||1!==o.length)return;let c=null==(n=null==(t=o[0])?void 0:t.dataType)?void 0:n.type,d=c&&!dS(c)&&!dL(c);if(!d)return;let p=!!s&&Object.values(s).filter(e=>!!(null==e?void 0:e.color)).length>1;d&&(!u||p)&&(a.color=null==(r=o[0])?void 0:r.key)},H$=e=>{let{mappings:t}=e;return Object.assign(Object.assign({},t),{cluster:[t.x]})},H1=e=>{let[t]=e;return t?{id:HH,x:t.key,y:HV,yValue:HF,alpha:HF}:{id:HH,x:HV,y:HF,yValue:HF}},H0=e=>{let{addons:t=[],pointAnnotationsAddonProps:n,annotationsAddonProps:r,chartData:i,curveType:o,isEditable:l=!1,isInteractive:a=!0,reverseCrossAxisPosition:s,onTopAxisLabelChange:u,onBottomAxisLabelChange:c,onRightAxisLabelChange:d,onLeftAxisLabelChange:p,trendType:h,xGoalValue:f,yGoalValue:m,customGoalLineLabel:y,vizPalette:x,fillTypeRange:b,lineTypeRange:C,vizType:v,xAxisProperties:j,yAxisProperties:A,sizeProperty:w,headlineMetric:k,headlineMetricComparisonValue:S,averageLineSeriesKey:P,locale:M,plotEffect:T,highlightStyle:D,backgroundStyle:I,backgroundColor:E,lineThickness:H,pointSize:V,textScale:F,font:B,numberFormat:z,treatEmptyValues:G,titleContent:W,footerContent:U,hasGridLines:N,shouldStartFromZero:K,showPoints:Z,comboPlotType:X,comboPlotAxisCount:_,customYAxisEndAt:Q,customYAxisStartFrom:J,hideCrossAxis:q,hideMainAxis:$,legendPosition:ee,showPercentageLabels:et,showStackTotals:en,sortBars:er,useLogScale:ei,shouldShowDataLabels:eo,flipAxes:el,topAxisLabel:ea,rightAxisLabel:es,bottomAxisLabel:eu,leftAxisLabel:ec,labelProperty:ed}=e,ep=Object.assign(Object.assign({},HE),{hasGridLines:N,shouldStartFromZero:K,comboPlotAxisCount:_,customYAxisEndAt:Q,customYAxisStartFrom:J,hideCrossAxis:q,hideMainAxis:$,legendPosition:ee,showPercentageLabels:et,showStackTotals:en,sortBars:er,useLogScale:ei,shouldShowDataLabels:eo}),eh=gh(e=>e.appearance.seriesConfig),{topAxisLabel:eg,bottomAxisLabel:ef,leftAxisLabel:em,rightAxisLabel:ey}=(e=>{let{vizType:t,xAxisProperties:n,yAxisProperties:r,customTopAxisLabel:i=null,customBottomAxisLabel:o=null,customLeftAxisLabel:l=null,customRightAxisLabel:a=null}=e;return{leftAxisLabel:(0,O.useMemo)(()=>{var e,n;return null!==l?l:"combo"!==t||r.length<2?"":null!=(n=null==(e=r[r.length-1])?void 0:e.label)?n:""},[l,t,r]),rightAxisLabel:(0,O.useMemo)(()=>{var e,n;return null!==a?a:("funnel"===t||r.length<=1||"combo"===t&&r.length<=2)&&null!=(n=null==(e=r[0])?void 0:e.label)?n:""},[a,t,r]),bottomAxisLabel:(0,O.useMemo)(()=>{var e,t;return null!==o?o:null!=(t=null==(e=n[0])?void 0:e.label)?t:""},[o,n]),topAxisLabel:(0,O.useMemo)(()=>{var e,t;return null!==i?i:null!=(t=null==(e=n[0])?void 0:e.label)?t:""},[i,n])}})({vizType:v,xAxisProperties:j,yAxisProperties:A,customTopAxisLabel:ea,customBottomAxisLabel:eu,customLeftAxisLabel:ec,customRightAxisLabel:es}),ex="funnel"===v||[...cJ,...cq].includes(v)&&(null==ep?void 0:ep.sortBars),{aestheticMappings:eb,data:eC}=(0,O.useMemo)(()=>{var e,t,r;return(e=>{var t,n,{chartData:r,vizType:i,xAxisProperties:o,yAxisProperties:l,sizeProperty:a,labelProperty:s,shouldSortBars:u,highlightAnnotations:c,treatEmptyValues:d,seriesConfig:p,enableLegacySingleBarColorMode:h}=e,g=sk(e,["chartData","vizType","xAxisProperties","yAxisProperties","sizeProperty","labelProperty","shouldSortBars","highlightAnnotations","treatEmptyValues","seriesConfig","enableLegacySingleBarColorMode"]);let f=(e=>{let{data:t,idColumns:n,measureColumns:r,key:i="Key",value:o="Value",observationId:l="Id",treatEmptyValues:a,yStackType:s="total"}=e,u=0;return t.flatMap((e,t)=>{let c=Object.entries(e).filter(e=>{let[t]=e;return r.includes(t)});"fill"===a?c=c.filter(e=>{let[,t]=e;return null!=t}):"zero"===a&&(c=c.map(e=>{let[t,n]=e;return[t,null!=n?n:0]}));let d=(0,L.A)(e,n),p=c.reduce((e,t)=>{let[,n]=t;return"number"==typeof n?e+n:e},0),h=u,g=h+p;return u=g,c.map(e=>{let[n,r]=e,a=(e=>{let{measureColumn:t,measureEntries:n,yStackType:r,stackTotal:i}=e,o=0,l=0;for(let[e,r]of n){if("number"!=typeof r)return{lower:0,upper:0,percentage:0};if(o=l,l+=r,t===e)break;o=l}return{lower:"percentage"===r?o/i:o,upper:"percentage"===r?l/i:l,percentage:(l-o)/i}})({measureColumn:n,measureEntries:c,yStackType:s,stackTotal:p});return Object.assign(Object.assign({},d),{[l]:d_({rowIndex:t,propertyKey:n}),[i]:n,[o]:r,[Hz]:h,[HY]:g,[HG]:a.lower,[HW]:a.upper,[HU]:a.percentage})})})})({data:r,idColumns:[...o.map(e=>{let{key:t}=e;return t}),null!=(t=null==a?void 0:a.key)?t:"",null!=(n=null==s?void 0:s.key)?n:""].filter(Boolean),measureColumns:l.map(e=>{let{key:t}=e;return t}),key:HV,value:HF,observationId:HH,treatEmptyValues:d,yStackType:["barStackedFill","columnStackedFill","mekko"].includes(i)?"percentage":"total"}),m=(e=>{var t;let{vizType:n,reshapedData:r,yAxisProperties:i,xAxisProperties:o,sizeProperty:l,labelProperty:a,getDataPointId:s,highlightAnnotations:u}=e,{formattingType:c}=HQ({yAxisProperties:i}),d=((e,t)=>{let[n]=t;if(!n||!dw(n.dataType.type))return e;let r={};return e.map(e=>{var t;let n="";for(let[t,r]of Object.entries(e))t!==HF&&t!==HH&&t!==HW&&(n="".concat(n).concat(mJ(r)));return n in r?(r[n]=(null!=(t=r[n])?t:0)+1,Object.entries(e).reduce((e,t)=>{let i,[o,l]=t;return o===HF||o===HV||o===HH?Object.assign(Object.assign({},e),{[o]:l}):Object.assign(Object.assign({},e),{[o]:(i=r[n],"".concat(i).concat(HN).concat(mJ(l)))})},{})):(r[n]=0,e)})})(r,o),p=Hc(),h="waterfall"===n&&d.length>0&&(null==(t=i[0])?void 0:t.key)!==Ec;for(let e of(p.add({variableKey:HH,values:[...HJ(d,HH),...h?[dX]:[]],type:h4.Text}),p.add({variableKey:HV,values:HJ(d,HV),type:h4.Text}),p.add({variableKey:HF,values:HJ(d,HF),type:c}),p.add({variableKey:HG,values:HJ(d,HG),type:h4.Decimal}),p.add({variableKey:HW,values:HJ(d,HW),type:h4.Decimal}),p.add({variableKey:HU,values:HJ(d,HU),type:h4.Decimal}),p.add({variableKey:Hz,values:HJ(d,Hz),type:h4.Decimal}),p.add({variableKey:HY,values:HJ(d,HY),type:h4.Decimal}),l&&p.add({variableKey:l.key,values:HJ(d,l.key),type:l.dataType.type}),a&&p.add({variableKey:a.key,values:HJ(d,a.key),type:h4.Text}),o))p.add({variableKey:e.key,values:HJ(d,e.key),type:e.dataType.type});return(e=>{let{dataFrame:t,reshapedData:n,highlightAnnotations:r,getDataPointId:i,xAxisProperty:o,isWaterfallSupported:l}=e,a=new Map,s=r.filter(e=>"x-value"===e.config.highlight);for(let e of n){if(!o)continue;let t=e[o.key];null!=t&&(a.has(t)||a.set(t,!1),s.some(t=>HH in e&&i(t)===e[HH])&&a.set(t,!0))}let u=r.some(e=>e.propertyKey===dX);t.add({variableKey:HB,values:[...n.map(e=>{var t;if(!o)return null;let n=r.filter(e=>"data-point"===e.config.highlight).some(t=>HH in e&&i(t)===e[HH]),l=e[o.key],s=null!=(t=void 0!==l&&a.get(l))&&t;return n||s}),...l?[u]:[]],type:h4.Boolean}),t.add({variableKey:HR,values:[...n.map(e=>r.filter(e=>"series"===e.config.highlight).some(t=>HH in e&&i(t)===e[HH])),...l?[!1]:[]],type:h4.Boolean})})({dataFrame:p,reshapedData:d,highlightAnnotations:u,getDataPointId:s,xAxisProperty:o[0],isWaterfallSupported:h}),p})(Object.assign({vizType:i,reshapedData:f,labelProperty:s,xAxisProperties:o,yAxisProperties:l,sizeProperty:a,highlightAnnotations:c},g)),y=(e=>{var t;let{xAxisProperties:n,yAxisProperties:r,sizeProperty:i,labelProperty:o,vizType:l,highlightAnnotations:a,seriesConfig:s,enableLegacySingleBarColorMode:u}=e;if("heatmap"===l)return H1(n);let[c]=n,d="areaStacked"===l,p={id:HH,x:null!=(t=null==c?void 0:c.key)?t:HF,y:d?HW:HF,size:null==i?void 0:i.key,yValue:HF,group:[{variableKey:HV}],label:null==o?void 0:o.key,color:HV,fillType:HV,lineType:HV,highlight:HB,highlightGroup:HR,xStackLower:Hz,xStackUpper:HY,yStackLower:HG,yStackUpper:HW,yStackPercentage:HU};return"combo"===l?H$({mappings:p}):(Hq({vizType:l,xAxisProperties:n,yAxisProperties:r,mappings:p,seriesConfig:s,enableLegacySingleBarColorMode:u}),p)})({xAxisProperties:o,yAxisProperties:l,sizeProperty:a,labelProperty:s,vizType:i,highlightAnnotations:c,seriesConfig:p}),x=[...cJ,...cq,"line","areaStacked","combo"].includes(i);return(dS(m.getType(y.x))||dL(m.getType(y.x)))&&x&&m.sortBy(y.x,Hl),u&&m.sortBy(HF,Ha),{data:m,aestheticMappings:y}})({chartData:i,vizType:v,yAxisProperties:A,xAxisProperties:j,sizeProperty:w,labelProperty:ed,shouldSortBars:ex,getDataPointId:null!=(e=null==n?void 0:n.getDataPointId)?e:()=>"",highlightAnnotations:null!=(r=null==(t=null==n?void 0:n.annotations)?void 0:t.filter(e=>"highlight"===e.config.type))?r:[],treatEmptyValues:G,seriesConfig:eh,enableLegacySingleBarColorMode:!0})},[null==n?void 0:n.getDataPointId,null==n?void 0:n.annotations,i,v,A,j,w,ed,ex,G,eh]),{x:ev}=eb,ej=eC.getType(ev),eA=Ve(ej,f,M),ew=(e=>{let{xAxisProperties:[t,n],yAxisProperties:r,sizeProperty:i,labelProperty:o,vizType:l,numberFormat:a,comboPlotAxisCount:s}=e,u=(0,Y.A)(),c="combo"===l&&r.length>=2&&"double"===s,d=(0,O.useCallback)(e=>{let t=r.find(t=>{let{key:n}=t;return n===e}),n=r.findIndex(t=>{let{key:n}=t;return n===e});return(null==t?void 0:t.label)?{rich:String(t.label),plain:String(t.label)}:t?((e,t)=>{let n=(e=>"heatmap"===e?"Row":"line"===e||[...cJ,...cq,"combo"].includes(e)?"Series":"Column")(t),r="".concat(n," ").concat(e+1);return{rich:r,plain:r}})(n,l):{rich:String(e),plain:String(e)}},[r,l]),p=(0,O.useCallback)((e,n,r,i)=>{if(!t)return d(e);let o=t.dataType,l=H_({intl:u,value:dw(o.type)?HZ(e):e,tickValues:n,formattingType:o.type,currency:o.type===h4.Currency?o.iso:void 0,cadence:i});return{plain:l,rich:l}},[t,d,u]),h=(0,O.useCallback)((e,t)=>{if("heatmap"===l)return d(e);let n=H_(Object.assign({intl:u,value:e,tickValues:t},HQ({yAxisProperties:r.slice(-1)})));return{plain:n,rich:n}},[d,u,l,r]),g=(0,O.useCallback)((e,t)=>{if("heatmap"===l)return d(e);let n=["barStackedFill","columnStackedFill","mekko"].includes(l)?ff({intl:u,value:e,tickValues:t}):H_(Object.assign({intl:u,value:e,tickValues:t},HQ({yAxisProperties:c?r.slice(0,-1):r})));return{plain:n,rich:n}},[d,u,c,l,r]),f=(0,O.useCallback)(e=>{if(!t)return d(e);let n=t.dataType,r=DX({intl:u,value:dw(n.type)?HZ(e):e,formattingType:n.type,currency:n.type===h4.Currency?n.iso:void 0,numberFormat:a});return{plain:r,rich:r}},[t,d,u,a]),m=(0,O.useCallback)((e,t)=>{var n;if("heatmap"===l)return d(e);if(c){let i=DX(Object.assign({intl:u,numberFormat:a,value:e},HQ({yAxisProperties:m5(t)&&(null==(n=r[r.length-1])?void 0:n.key)===t.groupValues[0]?r.slice(-1):r.slice(0,-1)})));return{plain:i,rich:i}}let i=DX(Object.assign(Object.assign({intl:u,value:e},HQ({yAxisProperties:r})),{numberFormat:a}));return{plain:i,rich:i}},[d,u,c,l,r,a]),y=(0,O.useCallback)(e=>{if(!n)return d(e);let t=n.dataType,r=DX({intl:u,value:e,formattingType:t.type,currency:t.type===h4.Currency?t.iso:void 0,numberFormat:a});return{plain:r,rich:r}},[d,u,n,a]),x=(0,O.useCallback)((e,t)=>{if(!o)return y(e,t);let n=HX({intl:u,value:e,numberFormat:a,formattingType:o.dataType.type});return{plain:n,rich:n}},[y,u,o,a]),b=(0,O.useCallback)(e=>{let t=DX(Object.assign({intl:u,value:e,numberFormat:a},HQ({yAxisProperties:r})));return{plain:t,rich:t}},[u,r,a]),C=(0,O.useCallback)(e=>{let t=fl({value:e});return{plain:t,rich:t}},[]),v=(0,O.useCallback)(e=>{var t;let n=r.at(c?-1:0),i=DX({intl:u,value:e,formattingType:null!=(t=null==n?void 0:n.dataType.type)?t:h4.Decimal,currency:(null==n?void 0:n.dataType.type)===h4.Currency?n.dataType.iso:void 0,numberFormat:a});return{plain:i,rich:i}},[u,c,r,a]),j=(0,O.useCallback)(e=>{let t=DX(Object.assign({intl:u,value:e,numberFormat:a},HQ({yAxisProperties:r})));return{plain:t,rich:t}},[u,r,a]),A=(0,O.useCallback)((e,t)=>{var n;if(c){let i=DX(Object.assign({intl:u,value:e,numberFormat:a},HQ({yAxisProperties:m5(t)&&(null==(n=r[r.length-1])?void 0:n.key)===t.groupValues[0]?r.slice(-1):r.slice(0,-1)})));return{plain:i,rich:i}}let i=DX(Object.assign({intl:u,numberFormat:a,value:e},HQ({yAxisProperties:r})));return m3(t)&&"positive"===t.waterfallType?{plain:"+".concat(i),rich:"+".concat(i)}:{plain:i,rich:i}},[u,c,r,a]),w=(0,O.useCallback)(e=>{if(c){let t=DX(Object.assign({intl:u,value:e,numberFormat:a},HQ({yAxisProperties:r.slice(0,-1)})));return{plain:t,rich:t}}let t=DX(Object.assign({intl:u,numberFormat:a,value:e},HQ({yAxisProperties:r})));return{plain:t,rich:t}},[u,c,r,a]),k=(0,O.useCallback)((e,t,n)=>{var i;let o=r;c&&(o=(null==(i=r[r.length-1])?void 0:i.key)===t?r.slice(-1):r.slice(0,-1));let l=HQ({yAxisProperties:o}),s=DX(Object.assign(Object.assign({intl:u,value:e,numberFormat:a},l),{formattingType:null!=n?n:l.formattingType}));return{plain:s,rich:s}},[u,c,r,a]),S=(0,O.useCallback)(e=>{var n;let r=null!=(n=null==t?void 0:t.dataType)?n:{type:h4.Text};if(Array.isArray(e))return((e,t,n,r)=>{let i;return{plain:i=[h4.WeeklyDateRange,h4.WeeklyDateRangeWithYear].includes(t.type)?"".concat(H_({intl:e,value:n,formattingType:t.type===h4.WeeklyDateRange?h4.DayMonth:h4.Date})," – ").concat(H_({intl:e,value:(0,R.f)(gG(r),6),formattingType:t.type===h4.WeeklyDateRange?h4.DayMonth:h4.Date})):"".concat(H_({intl:e,value:n,formattingType:t.type})," – ").concat(H_({intl:e,value:r,formattingType:t.type})),rich:i}})(u,r,e[0],e[1]);let i=H_({intl:u,value:dw(r.type)?HZ(e):e,formattingType:r.type,currency:r.type===h4.Currency?r.iso:void 0});return{plain:i,rich:i}},[null==t?void 0:t.dataType,u]),P=(0,O.useCallback)(e=>{if(!t||!n)return d(e);let r=n.dataType,i=HX({intl:u,value:e,numberFormat:a,formattingType:r.type,currency:r.type===h4.Currency?r.iso:void 0});return{plain:i,rich:i}},[t,a,d,u,n]);return{formatBubbleSizeValue:(0,O.useCallback)(e=>{var t;if(!i)return{plain:"",rich:""};let n=H_({intl:u,value:e,formattingType:null!=(t=i.dataType.type)?t:h4.Decimal});return{plain:n,rich:n}},[u,i]),formatTopAxisTickLabel:p,formatBottomAxisTickLabel:p,formatLeftAxisTickLabel:h,formatRightAxisTickLabel:g,formatTooltipXValue:f,formatTooltipYValue:m,formatTooltipGroupValue:y,formatTooltipLabelValue:x,formatTooltipAlphaValue:b,formatXGoalValue:C,formatYGoalValue:v,formatAverageLineValue:j,formatDataLabel:A,formatStackTotalValue:w,formatMetric:k,formatTrend:(0,O.useCallback)(e=>fi({intl:u,value:e}),[u]),formatMetricLabel:S,formatSeriesLabel:P}})({yAxisProperties:A,xAxisProperties:j,sizeProperty:w,labelProperty:ed,vizType:v,numberFormat:z,comboPlotAxisCount:ep.comboPlotAxisCount}),ek=H5({bottomAxisLabel:ef,chartFormatters:ew,isEditable:l,leftAxisLabel:em,onBottomAxisLabelChange:c,onLeftAxisLabelChange:p,onRightAxisLabelChange:d,onTopAxisLabelChange:u,reverseCrossAxisPosition:s,rightAxisLabel:ey,topAxisLabel:eg}),eS=H3({aestheticMappings:eb,backgroundColor:E,comboPlotAxisCount:_,curveType:o,data:eC,highlightStyle:D,lineThickness:H,plotEffect:T,pointSize:V,showPoints:Z,treatEmptyValues:G,vizType:v}),eP=h&&(0,g.jsx)(HI,{type:h,plotEffect:T,comboPlotAxisCount:ep.comboPlotAxisCount,highlightStyle:D,backgroundColor:E}),eL=H7({vizType:v,xGoalValue:f,parsedXGoalValue:eA,yGoalValue:m,chartFormatters:ew,customGoalLineLabel:y}),eM=H9({seriesKey:P,chartFormatters:ew,highlightStyle:D,aestheticMappings:eb,data:eC}),eO=H4({pointAnnotationsAddonProps:n,annotationsAddonProps:r,flags:ep,chartFormatters:ew,vizType:v,isInteractive:a,xType:ej,isEditable:l,dataContainsPercentages:gh(e=>"dataContainsPercentages"in e.computedConfig&&e.computedConfig.dataContainsPercentages),numberFormat:z,highlightStyle:D,disableTooltips:gh(e=>e.appearance.disableTooltips)}),eT=H2({chartFormatters:ew,aestheticMappings:eb,data:eC,headlineMetric:k,headlineMetricComparisonValue:S,highlightStyle:D,backgroundStyle:I,backgroundColor:E,vizType:v,comboPlotType:X});return(0,g.jsx)(Dw,{vizType:v,addons:[...t,...eO],aestheticMappings:eb,averageLine:eM,axes:ek,chartSummary:eT,comboPlotAxisCount:ep.comboPlotAxisCount,curveType:null!=o?o:"linear",data:eC,fillTypeRange:b,font:B,footerContent:U,formatSeriesLabel:ew.formatSeriesLabel,getDataPointId:H6,goalLines:eL,highlightStyle:D,lineTypeRange:C,options:H8(ep,v),originLines:(0,g.jsx)(Df,{}),percentageValueStrategy:"funnel"===v?"divide-by-max-value":void 0,plot:eS,textScale:F,titleContent:W,trendline:eP,vizPalette:x,xGoalValue:eA,yGoalValue:m,flipAxes:el})},H2=e=>{let{chartFormatters:t,headlineMetric:n,headlineMetricComparisonValue:r,highlightStyle:i,backgroundStyle:o,backgroundColor:l,vizType:a,aestheticMappings:s,data:u,comboPlotType:c}=e;return(0,g.jsx)(I2,{stat:n,comparisonValue:r,formatTrend:t.formatTrend,formatMetric:t.formatMetric,formatMetricLabel:t.formatMetricLabel,formatSeriesLabel:t.formatSeriesLabel,formatBubbleSizeValue:t.formatBubbleSizeValue,highlightStyle:i,backgroundStyle:o,backgroundColor:l,vizType:a,comboPlotType:c,aestheticMappings:s,data:u})},H5=e=>{let{isEditable:t,topAxisLabel:n,rightAxisLabel:r,bottomAxisLabel:i,leftAxisLabel:o,reverseCrossAxisPosition:l,onTopAxisLabelChange:a,onRightAxisLabelChange:s,onBottomAxisLabelChange:u,onLeftAxisLabelChange:c,chartFormatters:d}=e;return(0,g.jsx)(Dh,{topLabel:n,formatTopLabel:d.formatTopAxisTickLabel,onTopLabelChange:t?a:void 0,rightLabel:r,formatRightLabel:d.formatRightAxisTickLabel,onRightLabelChange:t?s:void 0,bottomLabel:i,formatBottomLabel:d.formatBottomAxisTickLabel,onBottomLabelChange:t?u:void 0,leftLabel:o,formatLeftLabel:d.formatLeftAxisTickLabel,onLeftLabelChange:t?c:void 0,reverseCrossAxisPosition:l})},H3=e=>{let{vizType:t,aestheticMappings:n,backgroundColor:r,curveType:i,data:o,highlightStyle:l,lineThickness:a,plotEffect:s,pointSize:u,showPoints:c,treatEmptyValues:d,comboPlotAxisCount:p}=e;switch(t){case"line":case"areaStacked":return(0,g.jsx)(OT,{vizType:t,x:n.x,y:n.y,group:n.group,curveType:i,plotEffect:s,highlightStyle:l,backgroundColor:r,lineThickness:a,treatEmptyValues:d,showPoints:c});case"scatter":return(0,g.jsx)(Ty,{group:n.group,plotEffect:s,highlightStyle:l,backgroundColor:r,pointSize:u});case"bubble":return(0,g.jsx)(Tb,{group:n.group,plotEffect:s,highlightStyle:l,backgroundColor:r});case"combo":return(0,g.jsx)(O$,{data:o,x:n.x,y:n.y,group:n.group,curveType:i,plotEffect:s,highlightStyle:l,backgroundColor:r,lineThickness:a,comboPlotAxisCount:p,showPoints:c});case"waterfall":return(0,g.jsx)(TC,{x:n.x,plotEffect:s});case"heatmap":return(0,g.jsx)(O4,{data:o,alpha:n.alpha,plotEffect:s});case"mekko":return(0,g.jsx)(Tv,{});default:return(0,g.jsx)(OZ,{vizType:t,x:n.x,y:n.y,group:n.group,shouldShowDropoff:"funnel"===t,plotEffect:s,backgroundColor:r})}},H7=e=>{let{vizType:t,xGoalValue:n,parsedXGoalValue:r,yGoalValue:i,chartFormatters:o,customGoalLineLabel:l}=e;return(0,g.jsx)(HM,{vizType:t,xGoalValue:r,yGoalValue:i,formatXGoalValue:()=>o.formatXGoalValue(null!=n?n:null),formatYGoalValue:o.formatYGoalValue,customGoalLineLabel:null!=l?l:void 0})},H9=e=>{let{seriesKey:t,data:n,aestheticMappings:r,chartFormatters:i,highlightStyle:o}=e;return null===t?null:(0,g.jsx)(En,{data:n,y:r.y,group:r.group,seriesKey:t,formatLabel:i.formatAverageLineValue,highlightStyle:o})},H4=e=>{var t,n,r,i;let o,{pointAnnotationsAddonProps:l,annotationsAddonProps:a,flags:s,vizType:u,isInteractive:c,xType:d,chartFormatters:p,isEditable:h,dataContainsPercentages:f,numberFormat:m,highlightStyle:y,disableTooltips:x}=e,b=[],C=null!=(t=null==l?void 0:l.annotations)?t:[],v={annotations:C,formatGroupValue:p.formatTooltipGroupValue,formatLabelValue:p.formatTooltipLabelValue,formatXValue:p.formatTooltipXValue,formatYValue:p.formatTooltipYValue,formatAlphaValue:p.formatTooltipAlphaValue,shouldShowTrend:dS(d)||"funnel"===u,xType:d,highlightStyle:y};return l&&(b.push(Ox(Object.assign(Object.assign({},l),{tooltipOptions:v,isEditable:h}))),b.push((i={isEditable:h,isDefaultVisible:null!=(n=s.shouldShowDataLabels)&&n,vizType:u,annotations:C,getDataPointId:l.getDataPointId,formatLabel:p.formatDataLabel,showPercentage:s.showPercentageLabels&&!f,numberFormat:m},{id:"data-labels",render:()=>(0,g.jsx)(SS,Object.assign({},i))}))),b.push((o={isDefaultVisible:null!=(r=s.showStackTotals)&&r,formatTotalValue:p.formatStackTotalValue},{id:"stack-totals",render:()=>(0,g.jsx)(SF,Object.assign({},o))})),a&&b.push(M7(a)),c&&!x&&b.push(kI(v)),b},H6=e=>String(e[HH]),H8=(e,t)=>({withHorizontalGridLines:"heatmap"!==t&&e.hasGridLines,withVerticalGridLines:"heatmap"!==t&&"waterfall"!==t&&"mekko"!==t&&e.hasGridLines,shouldStartFromZero:e.shouldStartFromZero,customYAxisStartFrom:e.customYAxisStartFrom,customYAxisEndAt:e.customYAxisEndAt,supportsRotatedTicks:!0,useLogScale:e.useLogScale,hideCrossAxis:e.hideCrossAxis,hideMainAxis:e.hideMainAxis,customLegendPosition:e.legendPosition,comboPlotAxisCount:e.comboPlotAxisCount}),Ve=(e,t,n)=>{var r;if(dS(e)&&"string"==typeof t)try{let e=null==(r=pl(t,n))?void 0:r.dateFormat;if(!e)return null;return El(t,e).toISOString()}catch(e){return null}return t},Vt=e=>{let{addons:t,pointAnnotationsAddonProps:n,annotationsAddonProps:r,chartData:i,config:o,isEditable:l,topAxisLabel:a,bottomAxisLabel:s,leftAxisLabel:u,rightAxisLabel:c,onTopAxisLabelChange:d,onBottomAxisLabelChange:p,onLeftAxisLabelChange:h,onRightAxisLabelChange:f,vizPalette:m,fillTypeRange:y,lineTypeRange:x,xGoalValue:b,yGoalValue:C,customGoalLineLabel:v,averageLineSeriesKey:j,shouldShowDataLabels:A,plotEffect:w,highlightStyle:k,backgroundStyle:S,backgroundColor:P,lineThickness:L,pointSize:M,textScale:O,font:T,numberFormat:D,titleContent:I,footerContent:E,treatEmptyValues:H,comboPlotAxisCount:V,customYAxisEndAt:F,customYAxisStartFrom:B,hasGridLines:R,hideCrossAxis:z,hideMainAxis:Y,legendPosition:G,shouldStartFromZero:W,showPercentageLabels:U,showPoints:N,showStackTotals:K,sortBars:Z,trendType:X,useLogScale:_,isInteractive:Q,flipAxes:J}=e;switch(o.type){case"bar":case"barStacked":case"barStackedFill":case"column":case"columnStacked":case"columnStackedFill":case"line":case"areaStacked":case"funnel":case"combo":case"scatter":case"bubble":case"mekko":case"heatmap":case"waterfall":return(0,g.jsx)(H0,{addons:t,annotationsAddonProps:r,averageLineSeriesKey:j,backgroundColor:P,backgroundStyle:S,bottomAxisLabel:s,chartData:i,comboPlotType:o.comboPlotType,comboPlotAxisCount:V,curveType:["line","areaStacked","combo"].includes(o.type)?o.curveType:void 0,customGoalLineLabel:v,customYAxisEndAt:F,customYAxisStartFrom:B,fillTypeRange:y,font:T,footerContent:E,hasGridLines:R,headlineMetric:o.headlineMetric,headlineMetricComparisonValue:o.headlineMetricComparisonValue,hideCrossAxis:z,hideMainAxis:Y,highlightStyle:k,isEditable:l,isInteractive:Q,leftAxisLabel:u,legendPosition:G,lineThickness:L,lineTypeRange:x,locale:o.locale,numberFormat:D,onBottomAxisLabelChange:p,onLeftAxisLabelChange:h,onRightAxisLabelChange:f,onTopAxisLabelChange:d,plotEffect:w,pointSize:M,reverseCrossAxisPosition:o.reverseCrossAxisPosition,rightAxisLabel:c,shouldStartFromZero:W,showPercentageLabels:U,showPoints:N,showStackTotals:K,sortBars:Z,textScale:O,titleContent:I,topAxisLabel:a,treatEmptyValues:H,trendType:X,useLogScale:_,vizPalette:m,vizType:o.type,pointAnnotationsAddonProps:n,shouldShowDataLabels:A,xAxisProperties:o.xAxisProperties,xGoalValue:b,yAxisProperties:o.yAxisProperties,yGoalValue:C,sizeProperty:"bubble"===o.type?o.sizeProperty:void 0,labelProperty:"scatter"===o.type||"bubble"===o.type?o.labelProperty:void 0,flipAxes:J});case"pie":case"donut":{let e=o.labelProperty,a=o.valueProperty;return(0,g.jsx)(Hm,{vizType:o.type,addons:t,annotationsAddonProps:r,backgroundColor:P,backgroundStyle:S,chartData:i,font:T,footerContent:E,headlineMetric:o.headlineMetric,highlightStyle:k,isEditable:l,isInteractive:Q,labelProperty:e,legendPosition:G,numberFormat:D,plotEffect:w,shouldShowCategoryLabels:o.showCategoryLabels,shouldShowDataLabels:A,showPercentageLabels:o.showPercentageLabels,textScale:O,titleContent:I,totalPosition:o.pieTotalPosition,valueProperty:a,vizPalette:m,pointAnnotationsAddonProps:n})}case"table":return(0,g.jsx)(Hx,{chartData:i,columns:o.columns,footerContent:E,numberFormat:D,titleContent:I})}},Vn=(0,O.forwardRef)((e,t)=>{var n;let{appearanceVariant:r,sizing:i,footerContent:o,isEditable:l=!0,hasBorder:a=!0,isExport:s,isInteractive:u=!0,onResize:c,renderTitle:d=e=>(0,g.jsx)(Ho,Object.assign({},e)),toolbar:p,zoom:h,disableAnimation:f=!1}=e,m=Ej(),y=(0,O.useRef)(null),x=gf(),b=gh(e=>e.annotations),v=gh(e=>e.appearance.theme),j=gh(e=>e.appearance.palette),A=gh(e=>e.appearance.textScale),w=gh(e=>e.appearance.font),k=gh(e=>e.numberFormat),S=gh(e=>e.computedConfig.comboPlotAxisCount),P=gh(e=>a?e.appearance.borderStroke:0),L=gh(e=>{var t;return null!=(t=e.appearance.backgroundStyle)?t:u3}),M=gh(e=>e.backgroundColor),T=gh(e=>{var t;return null!=(t=e.computedConfig.lineThickness)?t:void 0}),D=gh(e=>{var t;return null!=(t=e.computedConfig.pointSize)?t:void 0}),I=gh(e=>e.titleDocument),E=gh(e=>e.chartData),H=gh(e=>e.computedConfig),V=gh(e=>e.vizPalette),F=gh(e=>e.fillTypes),B=gh(e=>e.lineTypes),R=gh(e=>e.theme),z=gh(e=>"average"===e.computedConfig.presetPowerUp?e.computedConfig.averageLineSeriesKey:null),Y=gh(e=>e.appearance.disableAnimation),G=(0,O.useMemo)(()=>cJ.includes(H.type),[H.type]),W=H.customPowerUp,U=gT(),N=gh(e=>U&&"goal"===W?e.computedConfig.xGoalValue:null),K=gh(e=>"goal"===W?e.computedConfig.yGoalValue:"custom"===W&&e.computedConfig.customLineLabel?e.computedConfig.customLineValue:null),Z=gh(e=>"goal"===W?e.computedConfig.customGoalLineLabel:"custom"===W?e.computedConfig.customLineLabel:null),X=gh(e=>"trendline"===e.computedConfig.presetPowerUp?e.computedConfig.trendLineType||"linear":void 0),_=gh(e=>{var t;return"trendline"===e.computedConfig.presetPowerUp?"fade-color":null!=(t=e.appearance.highlightStyle)?t:cx}),Q=l?e=>{m(t=>({annotations:t.annotations.filter(t=>!s$(t)&&e.id!==t.id)}))}:void 0,J=l?e=>{m(t=>({annotations:t.annotations.map(t=>t.id===e.id?Object.assign({},e):t)}))}:void 0,q=(e=>{var t,n;let{isEditable:r,zoom:i,flipAxes:o}=e,l=gh(e=>e.annotations.filter(M9)),a=Ej(),s=(0,C.A)(a,100),u=Hn(),c=gh(e=>e.theme.canvasColors),d=(0,O.useCallback)((e,t,n,r)=>{a(i=>({annotations:[...i.annotations,{id:crypto.randomUUID(),config:{type:"text",dimensions:Object.assign(Object.assign({},((e,t,n,r)=>{let i=t,o=n,l=0;for(;;){if(l++>100)return{x:t,y:n};if(!e.some(e=>{if("text"!==e.config.type)return!1;let{x:t,y:n}=e.config.dimensions;return .01>Math.abs(t-i)&&.01>Math.abs(n-o)}))return{x:i,y:o};i+=.005,o+=.05,i+r>1&&(i=0),o>1&&(o=0)}})(i.annotations,e,t,n)),{width:n}),content:{type:"doc",content:[{type:"paragraph",content:r?[{type:"text",text:r}]:[]}]}}}]}))},[a]),p=null==(t=c.find(e=>"default"===e.id))?void 0:t.value,h=(0,O.useCallback)((e,t,n,r)=>{a(i=>({annotations:[...i.annotations,{id:crypto.randomUUID(),config:{type:"arrow",start:{x:e,y:t},end:{x:n,y:r},attributes:{color:p,thickness:"medium",startArrowheadStyle:"none",lineStyle:"solid",endArrowheadStyle:"line-arrow",stickerStyle:!1}}}]}))},[p,a]),g=(0,O.useCallback)((e,t)=>{a(n=>({annotations:[...n.annotations,{id:crypto.randomUUID(),config:{type:"difference-arrow",start:dQ(e),end:dQ(t),attributes:{type:"relative-difference",color:null,size:"small"}}}]}))},[a]),f=null==(n=c.find(e=>"blue"===e.id))?void 0:n.value,m=(0,O.useCallback)((e,t,n,r)=>{a(i=>({annotations:[...i.annotations,{id:crypto.randomUUID(),config:{type:"shape",shape:"rectangle",fillColor:f,fillOpacity:.25,strokeWidth:0,x:e,y:t,width:n,height:r,order:"below"}}]}))},[f,a]),y=(0,O.useCallback)((e,t)=>{a(n=>({annotations:n.annotations.map(n=>n.id===e&&"shape"===n.config.type?Object.assign(Object.assign({},n),{config:Object.assign(Object.assign({},n.config),t)}):n)}))},[a]),x=(0,O.useCallback)(e=>{let t=l.find(t=>t.id===e);t&&a(e=>{switch(t.config.type){case"text":return{annotations:[...e.annotations,Object.assign(Object.assign({},t),{id:crypto.randomUUID(),config:Object.assign(Object.assign({},t.config),{dimensions:Object.assign(Object.assign({},t.config.dimensions),{x:t.config.dimensions.x+.03,y:t.config.dimensions.y+.06})})})]};case"arrow":return{annotations:[...e.annotations,Object.assign(Object.assign({},t),{id:crypto.randomUUID(),config:Object.assign(Object.assign({},t.config),{start:{x:t.config.start.x+.03,y:t.config.start.y+.04},end:{x:t.config.end.x+.03,y:t.config.end.y+.04}})})]};case"shape":return{annotations:[...e.annotations,Object.assign(Object.assign({},t),{id:crypto.randomUUID(),config:Object.assign(Object.assign({},t.config),{x:t.config.x+.04,y:t.config.y+.04})})]};case"difference-arrow":return e}})},[l,a]),b=(0,O.useCallback)(e=>{a(t=>({annotations:t.annotations.filter(t=>t.id!==e)}))},[a]),v=(0,O.useCallback)((e,t,n,r,i)=>{s(o=>({annotations:o.annotations.map(o=>o.id===e&&"arrow"===o.config.type?Object.assign(Object.assign({},o),{config:Object.assign(Object.assign({},o.config),{start:{x:t,y:n},end:{x:r,y:i}})}):o)}))},[s]),j=e=>(t,n,r)=>{a(i=>({annotations:i.annotations.map(i=>i.id===t&&i.config.type===e?Object.assign(Object.assign({},i),{config:Object.assign(Object.assign({},i.config),{attributes:Object.assign(Object.assign({},i.config.attributes),{[n]:r})})}):i)}))},A=j("arrow"),w=j("difference-arrow"),k=(e,t)=>{s(n=>({annotations:n.annotations.map(n=>"text"!==n.config.type||n.id!==e?n:t(n))}))};return{annotations:l,onAddShape:m,onShapeAttributesUpdate:y,onAddTextAnnotation:d,onAddArrow:h,onAddDifferenceArrow:g,onDuplicate:x,onDelete:b,onArrowPointsUpdate:v,onArrowAttributeUpdate:A,onDragTextAnnotation:(e,t,n)=>{k(e,e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{dimensions:Object.assign(Object.assign({},e.config.dimensions),{x:t,y:n})})}))},onResizeTextAnnotation:(e,t,n,r)=>{k(e,e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{dimensions:Object.assign(Object.assign({},e.config.dimensions),{x:t,y:n,width:r})})}))},onTextEdit:(e,t)=>{k(e,e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),{content:t})}))},onTextAttributeUpdate:(e,t)=>{k(e,e=>Object.assign(Object.assign({},e),{config:Object.assign(Object.assign({},e.config),t)}))},getConnectedDataPointIds:e=>({start:d_(e.config.start),end:d_(e.config.end)}),onDifferenceArrowConnect:(e,t,n)=>{try{a(r=>({annotations:r.annotations.map(r=>r.id===e&&"difference-arrow"===r.config.type?Object.assign(Object.assign({},r),{config:Object.assign(Object.assign({},r.config),{start:dQ(t),end:dQ(n)})}):r)}))}catch(e){}},onDifferenceArrowAttributeUpdate:w,isEditable:r,zoom:i,plotEffect:gh(e=>"neon"===e.appearance.theme?"neon":void 0),seriesColorOptions:u,flipAxes:o}})({isEditable:l,zoom:h,flipAxes:G}),$=gh(e=>"neon"===e.appearance.theme?"neon":void 0),ee=(0,O.useCallback)((e,t)=>Ht(y.current,e,t||R.values.textPrimary),[R.values.textPrimary]),{handleTopAxisLabelChange:et,handleBottomAxisLabelChange:en,handleLeftAxisLabelChange:er,handleRightAxisLabelChange:ei,topAxisLabel:eo,bottomAxisLabel:el,leftAxisLabel:ea,rightAxisLabel:es}=(e=>{let t=Ej(),n=n=>{if(e)return e=>{t(t=>({visualisationConfig:Object.assign(Object.assign({},t.visualisationConfig),{[n]:e})}))}};return{topAxisLabel:gh(e=>e.computedConfig.topAxisLabel),bottomAxisLabel:gh(e=>e.computedConfig.bottomAxisLabel),leftAxisLabel:gh(e=>e.computedConfig.leftAxisLabel),rightAxisLabel:gh(e=>e.computedConfig.rightAxisLabel),handleTopAxisLabelChange:n("topAxisLabel"),handleBottomAxisLabelChange:n("bottomAxisLabel"),handleLeftAxisLabelChange:n("leftAxisLabel"),handleRightAxisLabelChange:n("rightAxisLabel")}})(l),eu=(()=>{let e=(()=>{let e=gh(e=>e.ref);return(0,O.useCallback)(t=>{var n;let r=null==(n=e.current.computedProperties.categoricalProperties.find(e=>!1!==e.isHidden))?void 0:n.key;if(r){let n=e.current.data[t];return null==n?void 0:n[r]}},[e])})(),t=Ej(),n=gh(e=>e.computedConfig.type),r=gh(e=>{var t;return null!=(t=e.appearance.highlightStyle)?t:cx}),i=gh(e=>e.annotations);return(0,O.useMemo)(()=>{var o;let l=e=>{t(t=>({annotations:((e,t)=>{let n=e.find(e=>!s$(e)&&sq(e)&&sq(t)&&e.propertyKey===t.propertyKey&&e.rowIndex===t.rowIndex);return n?e.map(e=>e===n?Object.assign(Object.assign({},e),t):e):[...e,t]})(t.annotations,e)}))},a=e=>{t(t=>({annotations:((e,t)=>{let n=e.filter(s$),r=dQ(t.id);return n.filter(e=>{switch(e.config.highlight){case"data-point":return d_(e)!==t.id;case"x-value":return e.rowIndex!==r.rowIndex;case"series":return e.propertyKey!==r.propertyKey}})})(t.annotations,e)}))};return[(o={annotations:i,getDataPointId:d_,onAnnotate:l,onRemoveHighlight:a,highlightStyle:r,getRowCategoricalValue:e,stickers:{"thumbs-up":(0,g.jsx)(Ou,{sticker:"thumbs-up"}),"thumbs-down":(0,g.jsx)(Ou,{sticker:"thumbs-down"}),"clapping-hands":(0,g.jsx)(Ou,{sticker:"clapping-hands"}),"grinning-face":(0,g.jsx)(Ou,{sticker:"grinning-face"}),rocket:(0,g.jsx)(Ou,{sticker:"rocket"})}},{id:"annotations-menu",render:()=>(0,g.jsx)(w6,Object.assign({},o))}),S5({onHighlight:l,onRemoveHighlight:a,highlightStyle:r,getRowCategoricalValue:e,vizType:n})]},[r,e,i,n,t])})(),ec=dU(w),{defaultLegendPosition:ed}=kB();return(0,g.jsx)(fK,{theme:R,children:(0,g.jsx)(vY,{children:(0,g.jsx)(ey.x,{reducedMotion:f||Y?"always":"user",children:(0,g.jsx)(bh.Provider,{value:ee,children:(0,g.jsx)(E7.Root,{ref:gD([y,t]),onResize:c,textScale:A,font:ec,appearanceVariant:r,borderStrokeWidth:P,isExport:s,borderStyles:x,backgroundColor:M,vizType:H.type,isEditable:l,appearanceTheme:v,appearancePalette:j,sizing:i,children:(0,g.jsx)(E7.Content,{toolbar:p,children:(0,g.jsx)(E8,{isEditable:l,chartData:E,config:H,children:(0,g.jsx)(eC.Bc,{skipDelayDuration:0,children:(0,g.jsx)(Vt,{isInteractive:u,addons:l?eu:[],annotationsAddonProps:q,averageLineSeriesKey:z,backgroundColor:M,backgroundStyle:L,showPoints:H.showPoints,bottomAxisLabel:null!=el?el:void 0,chartData:E,comboPlotAxisCount:S,config:H,customGoalLineLabel:Z,customYAxisEndAt:H.customYAxisEndAt,customYAxisStartFrom:H.customYAxisStartFrom,fillTypeRange:F,font:ec,footerContent:o,hasGridLines:H.hasGridLines,hideCrossAxis:H.hideCrossAxis,hideMainAxis:H.hideMainAxis,highlightStyle:_,isEditable:l,leftAxisLabel:null!=ea?ea:void 0,legendPosition:null!=(n=H.legendPosition)?n:ed,lineThickness:T,lineTypeRange:B,numberFormat:k,onBottomAxisLabelChange:en,onLeftAxisLabelChange:er,onRightAxisLabelChange:ei,onTopAxisLabelChange:et,plotEffect:$,pointSize:D,rightAxisLabel:null!=es?es:void 0,shouldShowDataLabels:H.showDataLabels,shouldStartFromZero:H.shouldStartFromZero,showPercentageLabels:H.showPercentageLabels,showStackTotals:H.showStackTotals,sortBars:H.sortBars,textScale:A,titleContent:d({isEditable:l,titleDocument:I,onChange:e=>m({titleDocument:e})}),treatEmptyValues:H.treatEmptyValues,topAxisLabel:null!=eo?eo:void 0,trendType:X,useLogScale:H.useLogScale,vizPalette:V,pointAnnotationsAddonProps:{isEditable:l,annotations:b,onUpdate:J,onDelete:Q,getDataPointId:d_,highlightStyle:_,flipAxes:G},xGoalValue:N,yGoalValue:K,flipAxes:G})})})})})})})})})});Vn.displayName="Graph"}}]); //# sourceMappingURL=8e04e354-55eb2182949d6153.js.map